summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidusage-badbounds-a.check
Commit message (Collapse)AuthorAgeFilesLines
* Normalized line endings.Paul Phillips2012-09-201-4/+4
| | | | | | This brings all the files into line with the .gitattributes settings, which should henceforth be automatically maintained by git.
* cleanup for macroExpandEugene Burmako2012-08-181-0/+4
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.