aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1657 from dotty-staging/fix-#1638odersky2016-11-053-2/+12
|\ | | | | Fix #1638: Don't import when typing a package clause
| * Fix #1638: Don't import when typing a package clauseMartin Odersky2016-11-033-2/+12
| | | | | | | | | | | | | | 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-0512-99/+42
|\ \ | | | | | | Fix #1637: Future defs are always OK
| * | Fix #1637: Future defs are always OKMartin Odersky2016-10-3112-99/+42
| | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #1606 from felixmulder/topic/fix-inline-contextFelix Mulder2016-11-043-37/+64
|\ \ \ | | | | | | | | Fix #1604: print outer context if applicable
| * | | 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-043-127/+136
|\ \ \ | | | | | | | | Fix #1579: Adapt the sbt bridge for the new error message
| * | | #1579 Adapt the sbt bridge for the new error messageDmitry Melnichenko2016-11-043-127/+136
| |/ /
* | | Merge pull request #1656 from dotty-staging/fix-#1652odersky2016-11-042-3/+19
|\ \ \ | | | | | | | | Fix #1652: Make assertion more robust
| * | | Add doc commentMartin Odersky2016-11-041-0/+3
| | | |
| * | | Reclassified testMartin Odersky2016-11-032-5/+5
| | | | | | | | | | | | | | | | Should be a neg test now.
| * | | Fix #1652: Make assertion more robustMartin Odersky2016-11-032-3/+16
| | |/ | |/| | | | | | | | | | 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-0426-314/+444
|\ \ \ | |/ / |/| | 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.
| * | Updated .gitignoreMartin Odersky2016-10-201-0/+2
| | | | | | | | | | | | Updated to ignore two .cache files in ScalaIDE 4.4
| * | 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-174-17/+22
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Fix dropInlined to also change positions of subtreesMartin Odersky2016-10-171-2/+3
| | |
| * | Keep position always with termMartin Odersky2016-10-171-1/+1
| | | | | | | | | | | | | | | | | | When printing with -Yprintpos always have the position follow immediately the term with the position. Makes it easier to interpret diffs.
| * | Drop erroneous setPos in TreeUnpickler.Martin Odersky2016-10-172-3/+3
| | | | | | | | | | | | | | | With that change, all files tested in pickleOK have the same positions before and after pickling.
| * | Fix pickling of self type positionMartin Odersky2016-10-171-1/+1
| | | | | | | | | | | | Was: position of self def, now: position of tpt in self def.
| * | Fix pickling of annotation positionsMartin Odersky2016-10-171-2/+2
| | |
| * | Handle shared treesMartin Odersky2016-10-164-15/+50
| | | | | | | | | | | | | | | | | | | | | Shared trees are pickled under multiple addresses. Previously, only the last address was stored, which led to trees with unknown positions. Now, all addresses are stored.
| * | Record position of self typeMartin Odersky2016-10-152-14/+18
| | | | | | | | | | | | Also, some simplifying refactorings and renamings
| * | Drop original on TypeTreeMartin Odersky2016-10-1511-59/+33
| | | | | | | | | | | | | | | | | | | | | | | | The plan is to keep original type until after pickling, and afterwards replace it with a simple TypeTree. # Conflicts: # src/dotty/tools/dotc/core/tasty/TreePickler.scala
| * | Preserve all positions in Tasty.Martin Odersky2016-10-158-52/+98
| | | | | | | | | | | | | | | | | | | | | The goal is that pickled and unpickled trees should print the same with -Yprintpos. There are several reasons why this is not the case so far. Some of them are fixed in this commit.
* | | Merge pull request #1635 from AndrewZurn/masterFelix Mulder2016-11-032-2/+28
|\ \ \ | | | | | | | | Add error message - _* syntax - Parsers.scala:1082
| * | | Add error message - _* syntax - Parsers.scala:1082Andrew Zurn2016-11-022-2/+28
|/ / /
* | | Merge pull request #1651 from felixmulder/topic/message-fixesFelix Mulder2016-11-023-229/+226
|\ \ \ | |_|/ |/| | Fix line splitting when point is first col
| * | Clean up in `messages.scala`Felix Mulder2016-11-022-228/+225
| | |
| * | Fix line splitting when point is first col of lineFelix Mulder2016-11-021-1/+1
|/ /
* | Merge pull request #1629 from ljdelight/errorMessagesFelix Mulder2016-10-312-2/+19
|\ \ | | | | | | Update error msg for Parsers.scala:1738 and 1739
| * | Update error msg for Parsers.scala:1738 and 1739Lucas Burson2016-10-312-2/+19
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
* | Merge pull request #1633 from thiagoandrade6/feature/error-identifier-expectedFelix Mulder2016-10-313-2/+27
|\ \ | | | | | | Add error message IdentifierExpected
| * | Add error message IdentifierExpectedThiago Pereira2016-10-313-2/+27
|/ / | | | | | | | | This commit adds the semantic object fir the ```identifier expected``` error. It is part of the https://github.com/lampepfl/dotty/issues/1589
* | Merge pull request #1630 from m-sp/masterFelix Mulder2016-10-312-1/+14
|\ \ | | | | | | Add error message Parsers.scala:1620 missing type keyword
| * | Add error message Parsers.scala:1620 missing type keywordMatthias Sperl2016-10-312-1/+14
| | |
* | | Remove broken link in docs indexFelix Mulder2016-10-311-1/+1
| | |
* | | Change base-url, so dotty.epfl.ch can build masterFelix Mulder2016-10-311-1/+1
| | |
* | | Change base url to match new CNAME from dotty.epfl.chFelix Mulder2016-10-311-1/+1
| | |