summaryrefslogtreecommitdiff
path: root/test/files/neg/t5091.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-8841 report named arg / assignment ambiguity also in silent mode.Lukas Rytz2014-12-121-2/+2
| | | | | | | | | | | | For local definitions (eg. in a block that is an argument of a method call), the type completer may have a silent context. A CyclicReference is then not thrown but transformed into a NormalTypeError. When deciding if 'x = e' is an assignment or a named arg, we need to report cyclic references, but not other type errors. In the above case, the cyclic reference was not reported. Also makes sure that warnings are printed after typing argument expressions.
* SI-5091 Move named-args cycle test from pending to negJason Zaugg2014-10-101-0/+9
There is a typechecking cycle, and since 4669ac180e5 we now report this in a clearer manner. Once we change the language to unconditionally interpret an assignent in argument position as a named argument would be the only way to get this over to `pos`.