Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #2267 from dotty-staging/fix-constant-lazy-vals | Dmitry Petrashko | 2017-04-19 | 10 | -0/+83 |
|\ | | | | | Fix #2266: Do not replace constant type lazy vals with constant. | ||||
| * | Pruning branch of constant type condition. | Nicolas Stucki | 2017-04-17 | 2 | -0/+13 |
| | | | | | | | | As done in inliner. | ||||
| * | Only allow constant type vals to be inlined. | Nicolas Stucki | 2017-04-17 | 2 | -0/+23 |
| | | |||||
| * | Fix constant type val value inline in constructors. | Nicolas Stucki | 2017-04-16 | 4 | -0/+35 |
| | | |||||
| * | Fix #2266: Do not replace constant type lazy vals with constant. | Nicolas Stucki | 2017-04-15 | 2 | -0/+12 |
| | | |||||
* | | Add test | Martin Odersky | 2017-04-18 | 1 | -0/+13 |
| | | |||||
* | | Render line and col in error message for clickability | Felix Mulder | 2017-04-16 | 3 | -16/+16 |
|/ | |||||
* | Recurse into refined type when exposing members | Aleksander Boruch-Gruszecki | 2017-04-13 | 2 | -3/+29 |
| | |||||
* | Fix #2220: disable benchmarks, set run timeout to 30 seconds | Felix Mulder | 2017-04-13 | 10 | -35/+0 |
| | |||||
* | Merge branch 'master' into fix-2253 | liu fengyun | 2017-04-13 | 3 | -0/+66 |
|\ | |||||
| * | Merge pull request #2256 from dotty-staging/fix-2254 | liu fengyun | 2017-04-13 | 1 | -0/+6 |
| |\ | | | | | | | fix #2254: dealias types in decomposition of spaces | ||||
| * \ | Merge pull request #2231 from dotty-staging/fix-#2230 | Guillaume Martres | 2017-04-13 | 1 | -0/+22 |
| |\ \ | | | | | | | | | Fix #2230: Add regression test. | ||||
| | * | | Fix #2230: Add regression test. | Nicolas Stucki | 2017-04-12 | 1 | -0/+22 |
| | | | | |||||
| * | | | Merge pull request #2209 from dotty-staging/fix-#2152 | odersky | 2017-04-13 | 1 | -0/+7 |
| |\ \ \ | | | | | | | | | | | Fix #2152: Instantiate dependent result type parameters | ||||
| | * | | | Fix #2152: Instantiate dependent result type parameters | Martin Odersky | 2017-04-11 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #2152 shows that dependent result type parameters can end up in the types of terms, so we have to eliminate them. If we don't we get orphan parameters in pickling. Fix method name and comment | ||||
| * | | | | Revert <: Product requierment in pattern matching | Olivier Blanvillain | 2017-04-13 | 1 | -0/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in question broke the following pattern, commonly used in name based pattern matching: ```scala object ProdEmpty { def _1: Int = ??? def _2: String = ??? def isEmpty = true def get = this } ``` This type define both `_1` and `get` + `isEmpty` (but is not <: Product). After #1938, `ProdEmpty` became eligibles for both product and name based pattern. Because "in case of ambiguities, *Product Pattern* is preferred over *Name Based Pattern*", isEmpty wouldn't be used, breaking the scalac semantics. | ||||
* | | | | | fix #2253: avoid exception with refinement types | liu fengyun | 2017-04-13 | 1 | -0/+7 |
| |_|_|/ |/| | | | |||||
* | | | | fix #2254: dealias types in decomposition of spaces | liu fengyun | 2017-04-13 | 1 | -0/+6 |
|/ / / | |||||
* | | | Add ability to only compile run tests | Felix Mulder | 2017-04-12 | 1 | -7/+0 |
| | | | |||||
* | | | Implement meta tests suggested by @DarkDimius | Felix Mulder | 2017-04-12 | 5 | -0/+76 |
| | | | | | | | | | | | | | | | | | | Note that merging this as-is will not protect us against fork bombs. This is because the timeout of tests is currently 180 seconds. A forkbomb that is allowed to run for that long... | ||||
* | | | Disable scalac internals tests | Felix Mulder | 2017-04-12 | 7 | -0/+1 |
| | | | |||||
* | | | Merge pull request #2229 from dotty-staging/sync-classfile-parser | odersky | 2017-04-12 | 3 | -0/+32 |
|\ \ \ | |_|/ |/| | | Port some ClassfileParser changes from scalac | ||||
| * | | Disable t5293, benchmarks should not be run as tests | Guillaume Martres | 2017-04-11 | 1 | -0/+0 |
| | | | |||||
| * | | SI-9915 Utf8_info are modified UTF8 | Guillaume Martres | 2017-04-11 | 2 | -0/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adapted from scalac commit 3c5990ce5839f4bdfca8fed7f2c415a72f6a8bd8 by Som Snytt: Use DataInputStream.readUTF to read CONSTANT_Utf8_info. This fixes reading embedded null char and supplementary chars. | ||||
* | | | Merge pull request #2225 from dotty-staging/fix-#2192 | odersky | 2017-04-11 | 2 | -3/+21 |
|\ \ \ | |/ / |/| | | Fix #2212: Avoid imports in the wrong namespace | ||||
| * | | Increase time limit for failing test | Martin Odersky | 2017-04-11 | 1 | -3/+2 |
| | | | |||||
| * | | Fix #2212: Avoid imports in the wrong namespace | Martin Odersky | 2017-04-11 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | | | | Don't issue an error if when considering a named import that refers to a valoe or type which does not exist. Instead, disregard the import an continue. | ||||
* | | | Merge pull request #2228 from dotty-staging/fix-#2218 | odersky | 2017-04-11 | 1 | -0/+9 |
|\ \ \ | | | | | | | | | Fix #2218: Add fullyDefinedType for class parent types | ||||
| * | | | Add fullyDefinedType for class parent types | Martin Odersky | 2017-04-11 | 1 | -0/+9 |
| | |/ | |/| | | | | | | | | | | | | | If we do not do that, any type variables in the parent type get interpolated later, when the whole primary constructor is typed. But by then we miss the context of what their variance was. | ||||
* | | | Merge pull request #2216 from dotty-staging/fix-2163 | odersky | 2017-04-11 | 1 | -0/+21 |
|\ \ \ | |/ / |/| | | fix #2163: don't narrow liftedOwner if symbol is InSuperCall | ||||
| * | | Remove check file | Martin Odersky | 2017-04-11 | 1 | -1/+0 |
| | | | |||||
| * | | Handle supercalls in inner classes correctly | Martin Odersky | 2017-04-11 | 1 | -2/+14 |
| | | | | | | | | | | | | | | | | | | The previous fix was too coarse. We need to move an anonymous function in a supercall towards the call, we just have to make sure it's not in the directly enclosing class. | ||||
| * | | add missing print | liu fengyun | 2017-04-11 | 1 | -1/+1 |
| | | | |||||
| * | | fix #2163: don't narrow liftedOwner if symbol is InSuperCall | liu fengyun | 2017-04-11 | 2 | -0/+10 |
| | | | |||||
* | | | Fix #2219: Fix type applications on WildcardType | Guillaume Martres | 2017-04-11 | 1 | -0/+7 |
|/ / | | | | | | | | | | | | | Previously we just returned the unapplied WildcardType which is incorrect if the WildcardType is bounded. The proper thing to do is to do the type application on the bounds of the WildcardType and wrap the result in a WildcardType. | ||||
* | | Merge pull request #1938 from dotty-staging/named-based-patmat | Felix Mulder | 2017-04-11 | 6 | -0/+111 |
|\ \ | | | | | | | Change case class desugaring and decouple Products and name-based-pattern-matching | ||||
| * | | Add tests | Olivier Blanvillain | 2017-04-06 | 6 | -0/+111 |
| | | | | | | | | | | | | | | | | | | - t7296 & case-class-23 are moved out of pending - 1938 tests productElement > 23 | ||||
* | | | Merge pull request #2215 from dotty-staging/#2142 | odersky | 2017-04-11 | 1 | -0/+28 |
|\ \ \ | | | | | | | | | Fix #2142: Skolemize arguments of dependent methods if necessary | ||||
| * | | | Skolemize arguments to dependent methods as necessary. | Martin Odersky | 2017-04-10 | 1 | -0/+28 |
| | | | | | | | | | | | | | | | | This was missing before, led to errors not being detected. | ||||
* | | | | Merge pull request #2197 from dotty-staging/add-enum-exhaustiveness | odersky | 2017-04-10 | 10 | -5/+98 |
|\ \ \ \ | | | | | | | | | | | Add enum exhaustivity checking | ||||
| * | | | | add more enum exhaustivity tests | liu fengyun | 2017-04-06 | 3 | -0/+77 |
| | | | | | |||||
| * | | | | exhaustivity support for enums | liu fengyun | 2017-04-06 | 6 | -5/+17 |
| | | | | | |||||
| * | | | | Add child annotations for enum values | Martin Odersky | 2017-04-06 | 1 | -0/+4 |
| | |/ / | |/| | | | | | | | | | | | | | | A new kind of child annotation that points to the term symbol representing an enum value. | ||||
* | | | | Merge pull request #2206 from dotty-staging/fix-#2198 | odersky | 2017-04-10 | 1 | -0/+6 |
|\ \ \ \ | |_|/ / |/| | | | Fix #2198: Don't widen module singletons | ||||
| * | | | Fix #2198: Don't widen module singletons | Martin Odersky | 2017-04-09 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since module classes are a compiler-generated construct that's not directly visible to programmers, it seems better not to automatically widen a module singleton to its underlying class. Fixes #2198. | ||||
* | | | | Merge pull request #2207 from dotty-staging/fix-#2188 | Nicolas Stucki | 2017-04-09 | 1 | -0/+5 |
|\ \ \ \ | | | | | | | | | | | Fix #2188: Do cbn transform also on Selects | ||||
| * | | | | Fix #2188: Do cbn transform also on Selects | Martin Odersky | 2017-04-09 | 1 | -0/+5 |
| |/ / / | | | | | | | | | | | | | These can arise as a result of an explicit outer transform. | ||||
* | | | | Merge pull request #2208 from dotty-staging/fix-#2192 | Guillaume Martres | 2017-04-09 | 1 | -0/+7 |
|\ \ \ \ | | |_|/ | |/| | | Fix #2192: Follow supertypes when determining whether an expect type … | ||||
| * | | | Fix #2192: Fullow supertypes when determining whether an expect type is a ↵ | Martin Odersky | 2017-04-09 | 1 | -0/+7 |
| |/ / | | | | | | | | | | function type | ||||
* | | | Merge pull request #2205 from dotty-staging/fix-#2220 | odersky | 2017-04-09 | 2 | -0/+10 |
|\ \ \ | |/ / |/| | | Fix #2220: Change handling of package objects and tweak hk type inference |