Commit 7c645b0
committed
Implement the behavior of anonymous JS classes.
This was in fact much easier than I thought. Unlike in scalac,
where we forcefully reattach captures as normal constructor
arguments, here we keep them as captures. This is much more
natural, and yields a simpler implementation.1 parent 7dbea35 commit 7c645b0
File tree
7 files changed
+309
-59
lines changed- compiler/src/dotty/tools
- backend/sjs
- dotc/transform/sjs
- project
7 files changed
+309
-59
lines changed
0 commit comments