diff options
author | Martin Odersky <odersky@gmail.com> | 2014-12-05 19:25:45 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-12-05 19:26:24 +0100 |
commit | fc23083675e4b194e42a0c310b1c43ab5d3aed2e (patch) | |
tree | 0d0895bebf4917a862dbb89ca2d662155acef9b9 /src/dotty/tools/dotc/core/StdNames.scala | |
parent | 8336a0ddbe78b363394c48e3407b79c72008d2b3 (diff) | |
download | dotty-fc23083675e4b194e42a0c310b1c43ab5d3aed2e.tar.gz dotty-fc23083675e4b194e42a0c310b1c43ab5d3aed2e.tar.bz2 dotty-fc23083675e4b194e42a0c310b1c43ab5d3aed2e.zip |
Fix by-name arguments
Previous scheme relying on Attachments was fragile. We now use
a dummy method application, which transmits info reliably to
Erasure.
Diffstat (limited to 'src/dotty/tools/dotc/core/StdNames.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/StdNames.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/StdNames.scala b/src/dotty/tools/dotc/core/StdNames.scala index 959e9cb84..24e948fa9 100644 --- a/src/dotty/tools/dotc/core/StdNames.scala +++ b/src/dotty/tools/dotc/core/StdNames.scala @@ -372,6 +372,7 @@ object StdNames { val delayedInit: N = "delayedInit" val delayedInitArg: N = "delayedInit$body" val drop: N = "drop" + val dummyApply: N = "<dummy-apply>" val elem: N = "elem" val emptyValDef: N = "emptyValDef" val ensureAccessible : N = "ensureAccessible" |