aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/NameOps.scala
Commit message (Collapse)AuthorAgeFilesLines
...
* Erasure phase PoCMartin Odersky2014-03-291-0/+8
| | | | | | | | | | | | | | | | | Still missing: bridge method generation, signatures. Other changes - Turned around Checking and NoChecking. Checking is the default, NoChecking disables it. - Refactored Typer#typed to expose typedNamed, so that it can be overridden in erasure. - Made logging more forgiving wrt off-buy-one phase errors. Conflicts: src/dotty/tools/dotc/typer/Typer.scala
* Fix of t1236: higher-kindedMartin Odersky2014-03-211-0/+13
| | | | | | | | | | | | | | | | | (and also of t0625, which reappeared). Several fixes were made. In summary: 1. Naming and representation of KigherKinded traits changed. It's now $HigherKinded$NIP where the letters after the second $ indicate variance (N)egative, (I)nvariant, (P)ositive. The HKtraits themselves are always non-variant in their parameters. 2. When deriving refined types over higher-kinded types, the variance of a type alias is the variance of the new type constructor. 3. isSubTypeHK was changed, as was the position from where it is called. 4. appliedTo also works for PolyTypes.
* More informative asserts.Dmitry Petrashko2014-03-031-1/+1
|
* Make signatures use fully qualified names.Martin Odersky2014-01-181-1/+1
| | | | | | Needed a refactoring of fullname to be able to refer to fullName without passing a context explicitly. Also, relax isAccessible check. The prefix condition for protected access need not hold for constructors.
* Adding a prototype of the right-hand side of default-getters.Martin Odersky2013-12-311-0/+7
|
* Dropping TRAIT_CONSTRUCTOR name.Martin Odersky2013-12-061-1/+1
| | | | Trait constructors are now also called <init>. When expanding traits we might want to use IMPLCLASS_CONSTRUCTOR.
* Fixes to named and default arguments.Martin Odersky2013-12-051-2/+5
| | | | Now come with test cases.
* Changing some assertions on isCommittableMartin Odersky2013-12-051-1/+3
|
* Fixes handling of modules in namer.Martin Odersky2013-08-201-1/+4
| | | | Now we make sure we keep mode invariants at all times.
* Eliminating getter generation in namer/typer.Martin Odersky2013-08-161-8/+1
| | | | | The idea is that getters shoul dbe generated later (probably during UnCurry). This is much better for handling modules, and also obviates the need to have LocalNames. Getters can be generated as soon in the compilation pipeline as methoda always get a parameter list. That way, we can distinguihs getters from fields without playing any tricks with names.
* Added desugaring.Martin Odersky2013-05-221-8/+3
| | | | With various other small changes.
* Scanners added.Martin Odersky2013-04-171-1/+2
| | | | | | | Moving Positions, Chars to new packages. Added Source positions. Added untyped trees module. Factored out behavior between typed and untyped trees.
* Made module class names end in '$'.Martin Odersky2013-04-051-4/+17
| | | | | | If module classes have the same names as their companion classes there is the latent trap that TypeRefs refer to one or the other. To avoid cross-talk, module classes need to have a different name. Also, some fixes to baseType, isSubClass in SymDenotations.
* More changes for higher-kinded types emulation.Martin Odersky2013-03-181-0/+8
|
* Added emulation of higher-kinded types.Martin Odersky2013-03-171-2/+4
| | | | Also improvements to toString.
* Various fixes to get past Definitions#init.Martin Odersky2013-03-131-1/+1
|
* Bug fixes and cleanups for names.Martin Odersky2013-03-011-22/+12
|
* more docs.Martin Odersky2013-02-281-2/+4
| | | | Plus renamed NullSignature -> NotAMethod
* Added new utility methods to SymDenotations and refactored creation.Martin Odersky2013-02-081-1/+6
|
* Various additions and improvements, in preparation for addition of unpicklers.Martin Odersky2013-02-061-0/+5
|
* Integration of settings, platform, pathresolver, etc.Martin Odersky2013-02-031-1/+1
|
* Added config package with settings, platform.Martin Odersky2013-02-011-31/+32
|
* Swiztched to name table, added StdNames and related definitions. Introduced ↵Martin Odersky2013-01-301-0/+275
LocalNames.