aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/Flags.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix rebase breakageMartin Odersky2017-04-111-1/+1
|
* Get rid of SuperAccessor flagMartin Odersky2017-04-111-2/+2
|
* Get rid of ExpandedName flagMartin Odersky2017-04-111-13/+10
|
* More fine-grained distinctions when flags are defined.Martin Odersky2017-04-041-4/+13
| | | | | | | | | | | | | | Flags like Trait are in fact not always defined when a symbol is created. For symbols loaded from class files, this flag, and some other is defined only once the classfile has been loaded. But this happens in general before the symbol is completed. We model this distinction by separating from the `FromStartFlags` set a new set `AfterLoadFlags` and distinguishing between the two sets in `SymDenotations#is`. Test case is enum-Option.scala. This erroneously complained before that `Enum` was not a trait.
* Fix #2067: Compute defKind at Typer, not NamerMartin Odersky2017-03-081-3/+6
| | | | | | | It's hard to predict for defKind all the desugarings that can be applied to a definition. Better to do it once the desugarings have been applied. NoInit and PureInterface are both tested only after Typer, so it's OK to delay their initialization until regular Typer.
* Drop named type parameters in classesMartin Odersky2017-03-041-3/+0
| | | | | | | | | | | | | Drop the [type T] syntax, and what's associated to make it work. Motivation: It's an alternative way of doing things for which there seems to be little need. The implementation was provisional and bitrotted during the various iterations to introduce higher-kinded types. So in the end the complxity-cost for language and compiler was not worth the added benefit that [type T] parameters provide. Noe that we still accept _named arguments_ [A = T] in expressions; these are useful for specifying some parameters and letting others be inferred.
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-221-0/+640