summaryrefslogtreecommitdiff
path: root/test/files/run/typecheck
Commit message (Collapse)AuthorAgeFilesLines
* typecheck(q"class C") no longer crashesEugene Burmako2014-02-122-0/+22
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.