aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix #1664: Refine isOuterRef conditionMartin Odersky2016-11-102-8/+24
| | | | | | | | We forgot the case where a hoistable method can still refer to free variables that have to be passed using outer pointers. Fixes #1664.
* 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.
* | Merge pull request #1609 from dotty-staging/patmat-testFelix Mulder2016-11-0950-417/+257
|\ \ | | | | | | add back the forgotten test file for patmat exhuastivity check
| * | Change `ClassicReporter` to `TestReporter` in test sourcesFelix Mulder2016-11-0951-506/+171
| | |
| * | add the forgotten patmat testliu fengyun2016-11-092-1/+91
| | |
| * | add back classic reporterliu fengyun2016-11-091-0/+85
|/ /
* | Update feature list on webpageFelix Mulder2016-11-091-7/+2
| |
* | Merge pull request #1684 from dotty-staging/fix-1672liu fengyun2016-11-081-0/+7
|\ \ | | | | | | Fixed #1672: Add regression test.
| * | Fixed #1672: Add regression test.Nicolas Stucki2016-11-081-0/+7
|/ / | | | | | | This issue was solved by some other fix.
* | Merge pull request #1607 from felixmulder/topic/fix-inline-untypedodersky2016-11-073-3/+23
|\ \ | | | | | | Fix #1605: don't inline methods that have errors
| * | 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-072-2/+9
| | |
* | | Merge pull request #1676 from felixmulder/topic/docs-add-searchFelix Mulder2016-11-0725-130/+263
|\ \ \ | |/ / |/| | Fix a number of doc issues
| * | Fix highlighting in search, add highlights in forwarding linksFelix Mulder2016-11-077-21/+78
| | |
| * | Fix #1675: add `edit on github` buttonFelix Mulder2016-11-073-0/+11
| | |
| * | Update READMEFelix Mulder2016-11-071-81/+13
| | |
| * | Fix #1674: add search to doc siteFelix Mulder2016-11-0722-46/+179
|/ /
* | 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 #1669 from dos65/docs_encodingFelix Mulder2016-11-061-0/+2
|\ \ \ | | | | | | | | Fix #1668 - add encoding for default docs layout
| * | | Fix #1668 - add encoding for default docs layoutdos652016-11-061-0/+2
| | | |
* | | | 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-063-1/+13
|\ \ \ \ | |/ / / |/| | | Fix #1640: Avoid applications with untyped function parts
| * | | Test case for #1641Martin Odersky2016-11-051-0/+8
| | | | | | | | | | | | | | | | | | | | #1641 compiles under latest master. This test case is there to ensure it stays that way.
| * | | Fix #1640: Avoid applications with untyped function partsMartin Odersky2016-11-052-1/+5
| | | | | | | | | | | | | | | | | | | | Avoid applications with untyped function parts even if program is erroneous. Taking the symbol fails for these applications, which can cause crashes.
* | | | Merge pull request #1660 from dotty-staging/fix-#1643Guillaume Martres2016-11-063-2/+29
|\ \ \ \ | |/ / / |/| | | Fix #1643: More robust untpd.New
| * | | Disallow wildcard arguments in newMartin Odersky2016-11-052-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | 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-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.