diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2016-03-29 19:25:06 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2016-03-29 23:09:39 -0700 |
commit | 62d97d7f110894a0c2f36b1ed9dd7ad59c0115fa (patch) | |
tree | 084f8abe0d8dea5165e03289870dc8d6adeea6bc /test/files/run/sammy_restrictions_LMF.check | |
parent | 63f017586f31de11bc6004dca7cea0c26ceb5ff5 (diff) | |
download | scala-62d97d7f110894a0c2f36b1ed9dd7ad59c0115fa.tar.gz scala-62d97d7f110894a0c2f36b1ed9dd7ad59c0115fa.tar.bz2 scala-62d97d7f110894a0c2f36b1ed9dd7ad59c0115fa.zip |
LMF cannot run trait's "initializer" (constructor)
Thus, rule out traits that have a constructor (which we use
as a proxy for having potentially side-effecting statements),
and create an anonymous subclass for them at compile time.
Diffstat (limited to 'test/files/run/sammy_restrictions_LMF.check')
-rw-r--r-- | test/files/run/sammy_restrictions_LMF.check | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/sammy_restrictions_LMF.check b/test/files/run/sammy_restrictions_LMF.check new file mode 100644 index 0000000000..6ed281c757 --- /dev/null +++ b/test/files/run/sammy_restrictions_LMF.check @@ -0,0 +1,2 @@ +1 +1 |