aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Add an error message for illegal start of simple patternMiron Aseev2016-11-162-1/+80
| |_|/ |/| |
* | | Add an error message for incorrect sequence wildcard pattern positionMiron Aseev2016-11-142-2/+25
| | |
* | | Report git-hash used to package the distribution - Closes #1319Bartosz KrasiƄski2016-11-122-1/+22
| | |
* | | Merge pull request #1678 from Blaisorblade/sync-diagramsGuillaume Martres2016-11-121-0/+2
|\ \ \ | | | | | | | | Resync copy of the type diagram in docs
| * | | Resync copy of the type diagram in docsPaolo G. Giarrusso2016-11-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add a note that the two diagrams should be kept in sync, both ways, so there's a chance that the copies are kept in sync. Alternatively one could drop a copy.
* | | | Clarify error for unbound identifierPaolo G. Giarrusso2016-11-111-3/+5
| | | |
* | | | Clarify ScalaDocs for MessagePaolo G. Giarrusso2016-11-111-1/+2
| | | |
* | | | Fix typosPaolo G. Giarrusso2016-11-112-4/+4
| | | |
* | | | Fix extra spacePaolo G. Giarrusso2016-11-111-1/+1
| |/ / |/| |
* | | Merge pull request #1677 from dotty-staging/fix-#1647odersky2016-11-105-25/+10
|\ \ \ | | | | | | | | Use inline flag instead of @inline annotation
| * | | Separate addInlineInfo and addAnnotationsMartin Odersky2016-11-071-3/+3
| | | |
| * | | Address reviewer commentsMartin Odersky2016-11-071-1/+0
| | | |
| * | | Use inline flag instead of @inline annotationMartin Odersky2016-11-075-23/+9
| | | | | | | | | | | | | | | | | | | | Convert `@inline` annotations to `inline` flags, not the other way round as was done before.
* | | | Change `ClassicReporter` to `TestReporter` in test sourcesFelix Mulder2016-11-093-93/+23
| | | |
* | | | add back classic reporterliu fengyun2016-11-091-0/+85
| |/ / |/| |
* | | Inline iff reporter has no new errors post typing `rhs`Felix Mulder2016-11-072-4/+17
| | |
* | | Fix #1605: don't inline methods that have errorsFelix Mulder2016-11-071-2/+4
| | |
* | | Merge pull request #1632 from dotty-staging/fix/hash-assertFelix Mulder2016-11-072-6/+9
|\ \ \ | | | | | | | | Avoid calling unsupported computeHash in some situations
| * | | Avoid calling unsupported computeHash in some situationsGuillaume Martres2016-10-262-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some types do not implement `computeHash`, instead they override `myHash` directly. This works fine as long as `myHash` is not equal to `HashUnknown` but this was not guaranteed before this commit, if `myHash` is equal to `HashUnknown` then `computeHash` is called by `CachedGroundType#hash` or `CachedProxyType#hash` causing an exception: https://gist.github.com/smarter/6b642db0495e995d8f3c26d614cf54d6 This commit fixes this by making sure we never compute a hash equal to `HashUnknown`, instead `HashUnknownAlt` should be used.
* | | | Fix typo in `IllegalLiteral` messageFelix Mulder2016-11-061-1/+1
| | | |
* | | | Merge pull request #1667 from maseev/iss1589-literal-error-messageFelix Mulder2016-11-062-1/+15
|\ \ \ \ | | | | | | | | | | Add error message for illegal literals - Parser.scala:602
| * | | | Add error message for illegal literalsMiron Aseev2016-11-072-1/+15
| | |/ / | |/| |
* | | | Merge pull request #1659 from dotty-staging/fix-#1640Felix Mulder2016-11-061-1/+1
|\ \ \ \ | |/ / / |/| | | Fix #1640: Avoid applications with untyped function parts
| * | | Fix #1640: Avoid applications with untyped function partsMartin Odersky2016-11-051-1/+1
| | |/ | |/| | | | | | | | | | Avoid applications with untyped function parts even if program is erroneous. Taking the symbol fails for these applications, which can cause crashes.
* | | Disallow wildcard arguments in newMartin Odersky2016-11-051-1/+9
| | | | | | | | | | | | | | | | | | These might lead to bad bounds if unchecked. Scalac disallows them also, but with a confusing error message ("class type expected" on the class).
* | | Fix #1643: Avoid crash due to previous errorsMartin Odersky2016-11-051-1/+1
|/ / | | | | | | | | We assumed that argument types in an untpd.New are never wildcards but in the face of errors that is not true.
* | Merge pull request #1657 from dotty-staging/fix-#1638odersky2016-11-052-2/+9
|\ \ | | | | | | Fix #1638: Don't import when typing a package clause
| * | Fix #1638: Don't import when typing a package clauseMartin Odersky2016-11-032-2/+9
| | | | | | | | | | | | | | | | | | | | | When typing the first identifier of a package clause, disable imports, as package clauses are never imported. Fixes #1638.
* | | Merge pull request #1655 from dotty-staging/change-future-defs-okodersky2016-11-0511-99/+34
|\ \ \ | | | | | | | | Fix #1637: Future defs are always OK
| * | | Fix #1637: Future defs are always OKMartin Odersky2016-10-3111-99/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop special mode that handles future defs without which we get DenotationNotDefinedHere errors. In more than a year, this has only turned up false negatives. So I think it's better to drop the check, and the contortions needed to deal with it.
* | | | Clean up in ConsoleReporter & MessageRenderingFelix Mulder2016-11-042-32/+51
| | | |
* | | | Fix #1604: print outer context if applicableFelix Mulder2016-11-042-5/+13
| | | |
* | | | Merge pull request #1646 from slothspot/1579Felix Mulder2016-11-042-99/+120
|\ \ \ \ | | | | | | | | | | Fix #1579: Adapt the sbt bridge for the new error message
| * | | | #1579 Adapt the sbt bridge for the new error messageDmitry Melnichenko2016-11-042-99/+120
| |/ / /
* | | | Merge pull request #1656 from dotty-staging/fix-#1652odersky2016-11-041-3/+14
|\ \ \ \ | | | | | | | | | | Fix #1652: Make assertion more robust
| * | | | Add doc commentMartin Odersky2016-11-041-0/+3
| | | | |
| * | | | Fix #1652: Make assertion more robustMartin Odersky2016-11-031-3/+11
| | |/ / | |/| | | | | | | | | | | | | | An assertion fired giving a false negative after a fuzzing test which introduced an ill-kinded type argument.
* | | | Merge pull request #1587 from dotty-staging/change-tasty-posGuillaume Martres2016-11-0424-313/+441
|\ \ \ \ | |/ / / |/| | | Fix Tasty positions
| * | | Address review commentMartin Odersky2016-10-311-1/+2
| | | | | | | | | | | | | | | | Other comments had already been addressed in previous commits.
| * | | Eliminate LAMBDAtype from TASTYformatMartin Odersky2016-10-313-16/+7
| | | | | | | | | | | | | | | | Merge with POLYtypem, as we do already for internal types.
| * | | Make cloned trees have new uniqueIdsMartin Odersky2016-10-311-5/+15
| | | | | | | | | | | | | | | | | | | | They used to share the same id as the tree they were cloned from, which makes id's not really unique.
| * | | Keep rhs of TypeDefs until picklingMartin Odersky2016-10-312-20/+21
| | | | | | | | | | | | | | | | | | | | Don't convert to a TypeTree in PostTyper, because that loses internal positions.
| * | | Roll normalizedTree into main PostTyper transformMartin Odersky2016-10-312-80/+50
| | | | | | | | | | | | | | | | | | | | Since we now transform all type trees, no need to have a separate traversal for checking.
| * | | Don't convert to literals before picklingMartin Odersky2016-10-313-50/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to keep the original expressions around for accurate linking with the source file. That holds also if the expression has a constant type, so it should not be converted to a literal before pickling. Instead it will be converted in FirstTransform.
| * | | Don't convert to TypeTrees before picklingMartin Odersky2016-10-317-36/+56
| | | | | | | | | | | | | | | | | | | | | | | | If we want to pickle types with positions we should not converyt to TypeTrees before pickling. Instead, type trees are now converted to TypeTrees in FirstTransform.
| * | | Maintain point for positions of definitionsMartin Odersky2016-10-204-18/+27
| | | | | | | | | | | | | | | | | | | | This is needed to figure out where the defined name is in a definition.
| * | | Don't generate positions that can be reconstructedMartin Odersky2016-10-181-2/+9
| | | | | | | | | | | | | | | | Don't generate positions that can be reconstructed from the initial position of a tree.
| * | | Mention Inlined transformation in docsMartin Odersky2016-10-183-2/+7
| | | |
| * | | Minimize inline call info in PostTyperMartin Odersky2016-10-171-0/+13
| | | |
| * | | Pickle Inlined treesMartin Odersky2016-10-173-15/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inlined trees should be preserved by pickling so that we keep positions accurate. With that change now all tasty tests are tested for position accuracy.