summaryrefslogtreecommitdiff
path: root/test/files/run/t6814/Macros_1.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-6814 adds typechecker modes to c.typecheckEugene Burmako2014-02-141-0/+24
As per multiple user requests, this commit introduces a shortcut to typecheck trees under multiple different modes: terms (EXPRmode, was exposed in Scala 2.10) and types (TYPEmode). Looking into the rest of a dozen of internal typechecker modes, to the best of my knowledge, I can’t find other modes that we could expose. FUNmode is useful, but very situational. PATTERNmode is useful, but also situational, because we don’t expand macros inside patterns except for whitebox extractor macros. The rest (e.g. POLYmode or TAPPmode) are too low-level.