stdlib doc says some platforms don't support structural types - I'm assuming scala.js, but can't find concrete evidence of it. Anyone knows?
-
-
Replying to @NicolasRinaudo
Most of the reflection API is not supported on Scala.JS, and it's required for structural types to work.
1 reply 0 retweets 0 likes -
Replying to @propensive
That was my assumption, but no documentation I could find states it bluntly. I thought maybe JS magic?
1 reply 0 retweets 0 likes -
Replying to @NicolasRinaudo
I suspect the author was thinking "this doesn't work specifically for scala.js, but it would be more correct to make a more general claim."
1 reply 0 retweets 0 likes -
Replying to @propensive
Sorry, I meant that scala.js doesn't state it explicitely that I could find, even in the list of differences with JVM scala
1 reply 0 retweets 0 likes -
Replying to @NicolasRinaudo
There's this: http://www.scala-js.org/doc/semantics.html#reflection …
1 reply 0 retweets 0 likes -
Replying to @propensive
But this only mentions reflection, not structural types. Do we now assume everybody knows one relies on the other?
2 replies 0 retweets 0 likes
Ah, good point! I was being completely presumptuous of exactly that!
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.