-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Singleton type subtyping fix #240
Singleton type subtyping fix #240
Conversation
Performance. We've tried many different approaches and selected the quickest/most compact library we've found (though we had to fix some bugs there). Also, as you can see, we incorporated the library into our code, the ability to maintain a fork was a factor too.
One of them holds links between unparameterized type constructors with all the arguments data omitted (e.g. List isSubtypeOf Seq, something similar to how subtype checks work on
Yes, but you won't want to use java serialization for it. From what I can remember , ScajaJS doesn't support java serialization, also it's slower, also less portable.
@neko-kai will do it, thanks for the reminder. |
@kitlangton
|
Ah, wait, scalafmt is already enabled for the project, it just didn't work in Scala 3 sources because |
You both rock. You also both answered all of my questions simultaneously :-) but slightly differently, so it’s extra helpful! Thanks again you two |
I believe it’s possible to set different dialects/settings for different folders, if that helps. |
I believe Scala3 dialect is a superset of all the others in scalafmt right now, so it won't be necessary until something breaks... |
Fixed a little issue we ran into with sub typing and dotty.
Also, a couple of questions, now that I'm understanding some more of this 😄
base
and aninheritance
db?Serializable
? :)scalafmt
to the project? 😄