summaryrefslogtreecommitdiff
path: root/test/pending/neg/macro-invalidusage-badbounds-b.flags
Commit message (Collapse)AuthorAgeFilesLines
* cleanup for macroExpandEugene Burmako2012-08-181-0/+1
Error reporting is moved to ContextErrors to disentangle stuff in Macros.scala. With logics and error reporting intertwined it was an awful mess. Exceptions are used for the same reason. Instead of threading failures through the code polluting it with options/ifs, I outline the success path. It worked much better for typedMacroBody, but I'm also happy with the resulting code of macroExpand. To me a major factor towards applicability of exceptions was that they are short-lived and that there might be max one error per domain, after which we unconditionally bail.