diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2012-11-02 18:01:14 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2012-11-02 18:01:14 -0700 |
commit | 424072aeaa391de40531f33694985072cbb70152 (patch) | |
tree | eea8a41a840d7971bc963b30464eb2e0bcae96bf /test | |
parent | f8ed076e251ff8b6e2b1d27f8c8a0dde2117308d (diff) | |
parent | a525d371e10b2bb9b6a2228f67603aa318f97716 (diff) | |
download | scala-424072aeaa391de40531f33694985072cbb70152.tar.gz scala-424072aeaa391de40531f33694985072cbb70152.tar.bz2 scala-424072aeaa391de40531f33694985072cbb70152.zip |
Merge pull request #1561 from gkossakowski/ticket/6562
SI-6562 Fix crash with class nested in @inline method
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/t6562.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/pos/t6562.scala b/test/files/pos/t6562.scala new file mode 100644 index 0000000000..eec7aa5199 --- /dev/null +++ b/test/files/pos/t6562.scala @@ -0,0 +1,14 @@ +class Test { + + @inline + def foo { + def it = new {} + (_: Any) => it + } + + @inline + private def bar { + def it = new {} + (_: Any) => it + } +} |