aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Changes to adaptation and local type inference.Martin Odersky2013-10-151-0/+15
|
* New TypeArgs flagMartin Odersky2013-10-101-19/+0
|
* Partial revert of "instance flags" commitMartin Odersky2013-10-091-0/+19
| | | | 16c1ddd3bb86c61890418b8394d44486e7bbd9dd
* Changed logic for merges in lub/glbMartin Odersky2013-09-301-11/+14
| | | | | | | Now throws an exception for merge conflicts of types joint by |, a warning for types joint by &. Exception is handled as in the case of CyclicRefernce. Also: Added several typerState.checkConsistent for future debugging purposes.
* Fixed problem that () was not inserted if method was overloaded.Martin Odersky2013-09-281-1/+1
|
* Several bug fixes to typer and classfile reader.Martin Odersky2013-09-281-6/+18
| | | | | In particular, changed internal representation of Java constructors and changed treatment of parent constructors in templates.
* Added isRef method to determine whether a type is a typeref that refers to a ↵Martin Odersky2013-09-262-5/+13
| | | | | | | symbol. The alternative (tpe eq sym.typeConstructor) does not work because types are not unique. The alternative (tpe.typeSymbol == sym) does not work because other types than TypeRefs have typeSymbols.
* Sereval more bugfixes to typer and type handling.Martin Odersky2013-09-251-1/+7
| | | | Several of these avoided stackoverflows/cyclic references
* Bug fixes and improvements in error diagnostics.Martin Odersky2013-09-161-3/+12
| | | | Main refactoring: lub/glb moves to type comparers.
* Implemented "two-hop" implicit adaptation.Martin Odersky2013-09-081-1/+1
| | | | | | That is, in a selection qual.name(args), qual can be adapted to obtain a member "name" that matches args. Important to make usage patterns like this one work: 1 + BigInt(x)
* Improvements in implicits error reportingMartin Odersky2013-09-061-1/+1
| | | | Plus a few bugfixes for implicits
* Several fixes in typer.Martin Odersky2013-09-052-0/+14
| | | | Also updated tests.
* More tests and fixes related to inference.Martin Odersky2013-08-301-0/+6
| | | | Main blooper: TypeVars got dereferenced in all Typemaps, so disappeared too quickly from types during inference.
* Buf fixing of namer/typer interface.Martin Odersky2013-08-291-0/+9
| | | | Make sure that only expanded trees are passed to functions that require expanded trees.
* Fixed bugs related to typechecking closures.Martin Odersky2013-08-272-1/+28
|
* Fixes in implicit handlingMartin Odersky2013-08-231-2/+6
| | | | Plus a new test file: implicits1
* Added some first test files to compileMartin Odersky2013-08-222-0/+40