Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix: #1366, constant adaptation | Martin Odersky | 2016-07-08 | 1 | -4/+11 |
| | | | | | Fix: #1366. Constant adaptation did not work if the expected type was an as yet uninstantiated type variable. | ||||
* | Merge pull request #1350 from dotty-jvican/issue-1308 | Dmitry Petrashko | 2016-07-01 | 1 | -1/+1 |
|\ | | | | | Add straightforward fix to #1308 | ||||
| * | Add straightforward fix to #1308 | jvican | 2016-07-01 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #1315 from nicolasstucki/optimize-try-cases | Dmitry Petrashko | 2016-06-30 | 6 | -75/+297 |
|\ | | | | | Fix #856: Handle try/catch cases as catch cases if possible. | ||||
| * | Fix #856: Handle try/catch cases as catch cases if possible. | Nicolas Stucki | 2016-06-28 | 6 | -75/+297 |
| | | | | | | | | | | | | | | Previously they were all lifted into a match with the came cases. Now the first cases are handled directly by by the catch. If one of the cases can not be handled the old scheme is applied to to it and all subsequent cases. | ||||
* | | Merge pull request #1338 from dotty-jvican/non-deferred-ycheck | Dmitry Petrashko | 2016-06-30 | 1 | -0/+21 |
|\ \ | | | | | | | Check non-deferred declarations are implemented | ||||
| * | | Add postcondition check that ensures #971 | jvican | 2016-06-29 | 1 | -0/+21 |
| | | | |||||
* | | | Merge pull request #1344 from dotty-staging/fix/partest-line-numbers | Dmitry Petrashko | 2016-06-30 | 2 | -9/+5 |
|\ \ \ | | | | | | | | | partest: correct line numbers in run stack traces | ||||
| * | | | partest: correct line numbers in run stack traces | Guillaume Martres | 2016-06-30 | 2 | -9/+5 |
|/ / / | | | | | | | | | | | | | | | | | | | partest adds a warning in a comment at the beginning of source files that it copies, but this means that every line number displayed in a stack trace is offset by 6. We can workaround this by making the warning a single line with no newline at the end. | ||||
* | | | Merge pull request #1332 from felixmulder/topic/snapshot-releases | Felix Mulder | 2016-06-25 | 1 | -4/+21 |
|\ \ \ | |_|/ |/| | | Change versioning to SNAPSHOT and nightly releases for now | ||||
| * | | Change versioning to SNAPSHOT and nightly releases for now | Felix Mulder | 2016-06-25 | 1 | -4/+21 |
|/ / | |||||
* | | Merge pull request #1326 from felixmulder/topic/remove-scala-version-hardcoding | Dmitry Petrashko | 2016-06-23 | 2 | -28/+28 |
|\ \ | | | | | | | Fixes for #1327, #1328 in dotc/dotr scripts | ||||
| * | | Fix #1328: move search of jar deps to after building | Felix Mulder | 2016-06-22 | 1 | -21/+21 |
| | | | |||||
| * | | Fix #1327: redirect stderr from find_jar | Felix Mulder | 2016-06-22 | 1 | -1/+1 |
| | | | |||||
| * | | Remove hardcoded scala version | Felix Mulder | 2016-06-22 | 2 | -6/+6 |
| | | | | | | | | | | | | Fixup from the last PR, review: @DarkDimius | ||||
* | | | Merge pull request #1226 from dotty-staging/static-fixes | Dmitry Petrashko | 2016-06-22 | 17 | -34/+174 |
|\ \ \ | | | | | | | | | Multiple fixes to @static | ||||
| * | | | Make class initialisers private. Otherwise they break GenBCode. | Dmitry Petrashko | 2016-06-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | GenBCode checks if class already has static initialiser, the check is fooled if class inherited a static initialisers. | ||||
| * | | | MoveStatics: Fix classes without companion not getting static <clinit> | Dmitry Petrashko | 2016-06-07 | 1 | -19/+20 |
| | | | | | | | | | | | | | | | | This broke lazy vals, as unsafe offsets were not initialised. | ||||
| * | | | LazyVals: do even more verbose debugging. | Dmitry Petrashko | 2016-06-07 | 1 | -1/+5 |
| | | | | |||||
| * | | | LazyVals: fix leftover moduleClass usage. | Dmitry Petrashko | 2016-06-07 | 1 | -1/+1 |
| | | | | |||||
| * | | | CheckStatic: report error position in case of disallowed override | Dmitry Petrashko | 2016-06-07 | 1 | -1/+1 |
| | | | | |||||
| * | | | MoveStatics: fix a bug. | Dmitry Petrashko | 2016-06-07 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | Nicely spotted by Ycheck. | ||||
| * | | | Add tests that were used to reproduce issues with LazyVals. | Dmitry Petrashko | 2016-06-07 | 2 | -0/+14 |
| | | | | |||||
| * | | | DottyBackendInterface: fix a bug in methodSymbols. | Dmitry Petrashko | 2016-06-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | This method is only used to find static initialisers. Previously, it was always wrong, but we didn't care as we never had them. | ||||
| * | | | MoveStatics: survive absence of companions. | Dmitry Petrashko | 2016-06-07 | 1 | -14/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now moveStatics can correctly create static constructors for objects. Those static constructors would later be merged with synthetic module initialisers by GenBCode. This is a bit of magic, it would be good to move all this into this phase. | ||||
| * | | | SymDenotations: fix comment. | Dmitry Petrashko | 2016-06-07 | 1 | -1/+1 |
| | | | | |||||
| * | | | LazyVals: support debug mode. | Dmitry Petrashko | 2016-06-07 | 1 | -2/+19 |
| | | | | | | | | | | | | | | | | Helps to spot usage of unsafe that would lead to undefined behaviour. | ||||
| * | | | Fix Ycheck: allow assigning fields in static constructors. | Dmitry Petrashko | 2016-06-07 | 3 | -1/+6 |
| | | | | |||||
| * | | | MoveStatics: fix two bugs. | Dmitry Petrashko | 2016-06-07 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | Unlink the static from the old scope, and don't drop top-level trees that are not TypeDefs. | ||||
| * | | | LazyVals: do not share offsets between companions. | Dmitry Petrashko | 2016-06-07 | 1 | -12/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | There used to be a rare test when companion class and companion object would have gotten the very same offset, causing undefined behaviour in runtime. | ||||
| * | | | Test #1224. | Dmitry Petrashko | 2016-06-07 | 1 | -0/+11 |
| | | | | |||||
| * | | | Fix #1224: static members do not override\implement parent symbols. | Dmitry Petrashko | 2016-06-07 | 1 | -3/+5 |
| | | | | |||||
| * | | | Fix type in SymDenotations. | Dmitry Petrashko | 2016-06-07 | 1 | -1/+1 |
| | | | | |||||
| * | | | Drop support for @static lazy vals. | Dmitry Petrashko | 2016-06-07 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | It's not clear how they should be implemented. | ||||
| * | | | MoveStatic: Move static methods & fields into companion class | Dmitry Petrashko | 2016-06-07 | 3 | -3/+71 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | As a funny side-effect this allows to execute arbitrary code in static initialisers: @static val a: Unit = {println("loaded")} | ||||
| * | | | Allow creating static initialisers. | Dmitry Petrashko | 2016-06-07 | 2 | -1/+5 |
| | | | | |||||
| * | | | Getters: do not generate getters for static vals | Dmitry Petrashko | 2016-06-07 | 1 | -0/+1 |
| | | | | |||||
| * | | | Constructors: do not lift static val initialisation into constructors. | Dmitry Petrashko | 2016-06-07 | 1 | -2/+2 |
| | | | | |||||
| * | | | SymDenotations: Allow entering Static symbols. | Dmitry Petrashko | 2016-06-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | They aren't inherited and can be entered into frozen owners. | ||||
| * | | | Test #1220 | Dmitry Petrashko | 2016-06-07 | 1 | -0/+4 |
| | | | | |||||
| * | | | Fix #1220. Dont die when having incorect static methods | Dmitry Petrashko | 2016-06-07 | 1 | -7/+4 |
| | | | | |||||
* | | | | Merge pull request #1309 from felixmulder/topic/fix#1307 | Dmitry Petrashko | 2016-06-22 | 2 | -0/+11 |
|\ \ \ \ | |_|/ / |/| | | | Fix issue with GADT not typechecking without bind in match | ||||
| * | | | Move GADT check to `typeTyped` | Felix Mulder | 2016-06-07 | 1 | -4/+5 |
| | | | | |||||
| * | | | Fix issue with GADT not typechecking without bind in match | Felix Mulder | 2016-06-06 | 2 | -1/+11 |
| | | | | |||||
* | | | | Merge pull request #1324 from felixmulder/fix/dotc-version#1321 | Dmitry Petrashko | 2016-06-22 | 6 | -98/+254 |
|\ \ \ \ | | | | | | | | | | | Multiple fixes for `bin/dotc` and `bin/dotr` | ||||
| * | | | | Die if `java` bin is not found or specified | Felix Mulder | 2016-06-21 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Extract common variables to common script in bin dir | Felix Mulder | 2016-06-21 | 3 | -154/+141 |
| | | | | | |||||
| * | | | | Remove call to `scala` in dotr | Felix Mulder | 2016-06-21 | 1 | -3/+31 |
| | | | | | |||||
| * | | | | Add tests fixing #1322 | Felix Mulder | 2016-06-21 | 1 | -0/+89 |
| | | | | | |||||
| * | | | | Fix #1323: change sbt interface dependency to allow artifact resolution by ↵ | Felix Mulder | 2016-06-21 | 2 | -20/+26 |
| | | | | | | | | | | | | | | | | | | | | coursier |