Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move compiler and compiler tests to compiler dir | Felix Mulder | 2016-11-22 | 14 | -7091/+0 |
| | |||||
* | Merge pull request #1634 from dotty-staging/change-tasty-pos-ctd | odersky | 2016-11-21 | 2 | -21/+21 |
|\ | | | | | Towards correct positions in TASTY types | ||||
| * | Make This and Super take idents as qualifier/mixin | Martin Odersky | 2016-11-21 | 1 | -13/+14 |
| | | | | | | | | | | The qualifier of a This and the mixin of a Super were names, which meant that their positions were lost. Now they are untyped idents. | ||||
| * | Clean up parameterized typedefs | Martin Odersky | 2016-11-11 | 2 | -8/+7 |
| | | | | | | | | | | | | | | | | Express them in terms PolyTypeTrees rather than having an irregular, untyped only tparams field. This is necessary if we want to pickle type trees instead of types, because now the rhs of a typedef tells the whole story, so we are not required any longer to use the info of the symbol. | ||||
* | | Merge pull request #1696 from felixmulder/topic/assert-message-laziness | Felix Mulder | 2016-11-17 | 1 | -7/+7 |
|\ \ | | | | | | | Make sure messages are lazily evaluated until `report` in `Reporter` | ||||
| * | | Make sure all `Message` creation is by name | Felix Mulder | 2016-11-14 | 1 | -7/+7 |
| |/ | |||||
* | | Merge pull request #1718 from dotty-staging/fix-#1703 | odersky | 2016-11-17 | 1 | -1/+2 |
|\ \ | | | | | | | Fix #1703 | ||||
| * | | Fix #1703 - survive illegal self type clause | Martin Odersky | 2016-11-16 | 1 | -1/+2 |
| |/ | | | | | | | | | | | | | Since self types are critical we should only install one if it is syntactcally correct. Fixes #1703. | ||||
* | | Add an error message for illegal start of simple pattern | Miron Aseev | 2016-11-16 | 1 | -1/+1 |
| | | |||||
* | | Add an error message for incorrect sequence wildcard pattern position | Miron Aseev | 2016-11-14 | 1 | -2/+2 |
| | | |||||
* | | Fix typos | Paolo G. Giarrusso | 2016-11-11 | 1 | -3/+3 |
|/ | |||||
* | Add error message for illegal literals | Miron Aseev | 2016-11-07 | 1 | -1/+1 |
| | |||||
* | Add error message - _* syntax - Parsers.scala:1082 | Andrew Zurn | 2016-11-02 | 1 | -1/+2 |
| | |||||
* | Update error msg for Parsers.scala:1738 and 1739 | Lucas Burson | 2016-10-31 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | These error messages are for aux ctors needing non-implicit params. I'm testing the error messages with this code ``` class Square(val len: Int) { // typical cases: // (1) this() parens are forgotten, (2) argument set as implicit def this(implicit width: Double) = this(0) def this = { this(4) } } class MyList(val s: String) { def this ``` | ||||
* | Add error message IdentifierExpected | Thiago Pereira | 2016-10-31 | 2 | -2/+3 |
| | | | | | This commit adds the semantic object fir the ```identifier expected``` error. It is part of the https://github.com/lampepfl/dotty/issues/1589 | ||||
* | Add error message Parsers.scala:1620 missing type keyword | Matthias Sperl | 2016-10-31 | 1 | -1/+1 |
| | |||||
* | Add error message - Parsers.scala:695 | Andrew Zurn | 2016-10-25 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1624 from sebastianharko/master | Felix Mulder | 2016-10-25 | 1 | -1/+1 |
|\ | | | | | Add error message for Parsers:1329 | ||||
| * | add error message related to missing yield/do in for-comprehensions | Sebastian Harko | 2016-10-24 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1608 from dotty-staging/modifiers | odersky | 2016-10-25 | 1 | -37/+52 |
|\ \ | |/ |/| | Record syntactic information about modifiers | ||||
| * | fix error in rebase merge | liu fengyun | 2016-10-24 | 1 | -1/+1 |
| | | |||||
| * | rename val and unnecessary atPos | liu fengyun | 2016-10-22 | 1 | -4/+4 |
| | | | | | | | | | | | | | | Note that there's no need to explicitly call `atPos` here, because the initializer of `Positioned` will automatically synthesize the initial position from its children elements. Refer to the definition of `Positioned` for more details. | ||||
| * | address review feedback | liu fengyun | 2016-10-22 | 1 | -33/+22 |
| | | |||||
| * | add tests for modifiers | liu fengyun | 2016-10-22 | 1 | -10/+22 |
| | | |||||
| * | Record syntactic information about modifiers | liu fengyun | 2016-10-22 | 1 | -10/+24 |
| | | |||||
* | | Update error message at Parsers.scala:1901 | Lucas Burson | 2016-10-23 | 1 | -1/+1 |
| | | | | | | | | This one is about a 'missing return type' when we can't infer a type. I used tests/neg/i871.scala to verify the change. | ||||
* | | Add explanation for "illegal start of simple expression" | Jyotman Singh | 2016-10-23 | 1 | -1/+1 |
|/ | |||||
* | Add unbound placeholder parameter message. | ruben | 2016-10-22 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1615 from sebastianharko/master | Felix Mulder | 2016-10-22 | 1 | -2/+2 |
|\ | | | | | Add error messages - Parsers.scala:626 and Parsers.scala:1492 | ||||
| * | add messages for interpolated string error and repeated modifier error | Sebastian Harko | 2016-10-21 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #1594 from dotty-staging/fix-#1576 | Olivier Blanvillain | 2016-10-20 | 1 | -1/+1 |
|\ \ | |/ |/| | Fix #1576: Parameters of Java annotations should be public | ||||
| * | Fix #1576: Parameters of Java annotations should be public | Martin Odersky | 2016-10-13 | 1 | -1/+1 |
| | | | | | | | | | | Parameters of annotation classes parsed by the Java parser should have public val parameters. Otherwise they cannot be accessed as fields. | ||||
* | | explanation for error message related to use of early definitions | Sebastian Harko | 2016-10-16 | 1 | -1/+1 |
|/ | |||||
* | Use => instead of -> for PolyTypes | Martin Odersky | 2016-10-12 | 1 | -2/+2 |
| | | | | | | If PolyTypes are to become value types we want to keep `=>` as the arrow for consistency. `->` should be reserved for PolyTypes that do not have side effects on instantiation. | ||||
* | Merge GenericType, TypeLambda and PolyType | Martin Odersky | 2016-10-12 | 1 | -1/+1 |
| | |||||
* | Correct line extraction from SourcePosition | Felix Mulder | 2016-10-10 | 1 | -13/+11 |
| | |||||
* | Improve positions for MemberDefs using `namePos` | Felix Mulder | 2016-10-10 | 1 | -3/+17 |
| | |||||
* | Add deprecation message on `with` type operator | Felix Mulder | 2016-10-10 | 1 | -1/+1 |
| | |||||
* | Make relevant parts of compiler conform to new error handling | Felix Mulder | 2016-10-10 | 1 | -12/+11 |
| | |||||
* | Complete better structure to diagnostic messages | Felix Mulder | 2016-10-10 | 3 | -8/+7 |
| | |||||
* | Change layout of ErrorMessages | Felix Mulder | 2016-10-10 | 3 | -4/+7 |
| | |||||
* | Add initial structure for improved explanations of error messages | Felix Mulder | 2016-10-10 | 1 | -13/+10 |
| | |||||
* | Typecheck usecases in fresh local scope | Felix Mulder | 2016-10-06 | 1 | -1/+1 |
| | |||||
* | Fix cooking of docstrings | Felix Mulder | 2016-10-06 | 1 | -1/+1 |
| | |||||
* | Add `Comments` object instead of `Scanners.Comment` case class | Felix Mulder | 2016-10-06 | 2 | -6/+2 |
| | |||||
* | Address @smarter's review comments | Martin Odersky | 2016-10-02 | 1 | -1/+1 |
| | |||||
* | Add inline for vals | Martin Odersky | 2016-10-02 | 1 | -5/+10 |
| | | | | | | | | | | - allow inline as an alternative to final for vals (final is retained for backwards compatibility for now) - allow inline for parameters - check that rhs of inline value has a constant type - check that arguments to inline value parameters have constant type - check that inline members are not deferred - make inline members effectively final | ||||
* | Make inline a keyword | Martin Odersky | 2016-10-02 | 3 | -16/+38 |
| | | | | | | | `inline` is now a modifier keyword. To keep disruption tolerable, we still allow `@inline` as an annotation as well. Other uses of `inline` are supported only under `-language:Scala2` and are rewritten to identifiers in backticks. | ||||
* | Eliminate SelectFromTypeTree from docs | Martin Odersky | 2016-09-25 | 1 | -5/+2 |
| | |||||
* | Get rid of Thicket(List(...)) as an expression | Martin Odersky | 2016-09-25 | 1 | -2/+2 |
| | | | | Thicket has a vararg constructor, so this syntax is redundant. |