summaryrefslogtreecommitdiff
path: root/test/files/res/t5489.res
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2014-02-18 14:37:51 +0100
committerEugene Burmako <xeno.by@gmail.com>2014-03-23 12:02:26 +0100
commit3314d76cebc6e27ba4d4ca75cc64fe67fcb90fb6 (patch)
tree3baf8d11bbed829f6ba0b66b03144a46fe05baed /test/files/res/t5489.res
parentb66a39653b9bccab72036ba58fec5fd7d596d313 (diff)
downloadscala-3314d76cebc6e27ba4d4ca75cc64fe67fcb90fb6.tar.gz
scala-3314d76cebc6e27ba4d4ca75cc64fe67fcb90fb6.tar.bz2
scala-3314d76cebc6e27ba4d4ca75cc64fe67fcb90fb6.zip
[nomaster] typecheck(q"class C") no longer crashes
MemberDefs alone can't be typechecked as is, because namer only names contents of PackageDefs, Templates and Blocks. And, if not named, a tree can't be typed. This commit solves this problem by wrapping typecheckees in a trivial block and then unwrapping the result when it returns back from the typechecker. (cherry picked from commit 609047ba372ceaf06916d3361954bc949a6906ee)
Diffstat (limited to 'test/files/res/t5489.res')
0 files changed, 0 insertions, 0 deletions