Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge pull request #715 from dotty-staging/repeated-arrays | Dmitry Petrashko | 2015-07-05 | 1 | -2/+9 | |
|\ | | | | | Fixes to generic arrays in backend. | |||||
| * | Arrays.newRefArray has multiple symbols that coexist during bootstrap. | Dmitry Petrashko | 2015-07-05 | 1 | -2/+9 | |
| | | | | | | | | More magic is needed, as enumerating array symbols does not work in backend. | |||||
* | | Document that lines and columns start at 0. | Martin Odersky | 2015-06-25 | 1 | -1/+1 | |
|/ | | | | And adjust for it in DottyBackendInterface | |||||
* | Make normalizeToRef survive annotated types | Martin Odersky | 2015-05-21 | 1 | -1/+1 | |
| | | | | Did not handle this case before. | |||||
* | Merge pull request #565 from retronym/topic/cleanups | Dmitry Petrashko | 2015-05-15 | 3 | -5/+5 | |
|\ | | | | | Fix typos, scaladoc tags, and some minor code smells. | |||||
| * | Correct a large number of typos. | Jason Zaugg | 2015-05-14 | 3 | -5/+5 | |
| | | | | | | | | | | I scanned the main sources with IntellIJ's spell checker and corrected what showed up. | |||||
* | | Fix #560 - refactor flatName | Martin Odersky | 2015-05-13 | 1 | -1/+1 | |
|/ | | | | | | - Merge flatName and fullNameSeparated - Treat nested members of modules specially, to conform to scalac conventions - Use `~` as separator for term members. | |||||
* | Cleanup non-deviation. | Martin Odersky | 2015-05-12 | 1 | -6/+1 | |
| | | | | | There was a "dotty deviation - does not work" in DottyBackendInterface, which does work after all. Reverting to more idiomatic code. | |||||
* | Remove NonExistentTree. | Dmitry Petrashko | 2015-05-08 | 1 | -3/+2 | |
| | ||||||
* | Workaround dotty deviation in for loop patterns. | Dmitry Petrashko | 2015-05-08 | 1 | -5/+10 | |
| | ||||||
* | Address some of dotty deviations in backend. | Dmitry Petrashko | 2015-05-08 | 2 | -2/+2 | |
| | | | | Implicit vals need explicit type, anonymous classes are widened. | |||||
* | Do not use deprecated procedure syntax in GenBCode. | Dmitry Petrashko | 2015-05-08 | 2 | -16/+21 | |
| | ||||||
* | Rename localClasses -> definedClasses | Martin Odersky | 2015-05-07 | 1 | -3/+3 | |
| | ||||||
* | Fix #536 - only load member classes of classes that are currently compiled. | Martin Odersky | 2015-05-07 | 1 | -2/+18 | |
| | | | | | | | It seems wasteful to load the member classes even of classes that are not currently compiled. It also makes us vulnerable to any misinterpretation of Java file formats. In th particular case of #536, we parsed a class an anonymous Collection$1 which was referring to the type parameter of its enclosing class, but was not diagnosed as an inner class of the enclosing class. | |||||
* | Merge pull request #509 from dotty-staging/add/expandSAMs | Dmitry Petrashko | 2015-05-04 | 1 | -2/+2 | |
|\ | | | | | Expand SAM closures to anonymous classes if needed | |||||
| * | Refactoring and renaming of superClass/superInterfaces | Martin Odersky | 2015-05-02 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | superClass was a duplicate; we already have one in SymDenotation, so we delete the one in SymUtils. superInterfaces is too easy to confused with the JVM notion, which is different. I replaced with directlyInheritedTraits. | |||||
* | | Merge pull request #512 from dotty-staging/fix-511 | Dmitry Petrashko | 2015-05-04 | 1 | -0/+3 | |
|\ \ | |/ |/| | Fix #511. Lambdas of traits that inherit abstract member. | |||||
| * | Reuse Type.abstractTermMembers in DottyBackendInterface. | Dmitry Petrashko | 2015-04-30 | 1 | -2/+1 | |
| | | ||||||
| * | Fix #511. The fix will not be effective until we update scalac fork dependency. | Dmitry Petrashko | 2015-04-30 | 1 | -0/+4 | |
| | | | | | | | | | | https://github.com/DarkDimius/scala/commit/9c054bd687bbbcaa75f3f10a1d343998c6c1a2ba As bug is minor I do not want to update scalac fork dependency just yet. | |||||
* | | DottyBackendInterface: interface members cannot be final | Dmitry Petrashko | 2015-04-30 | 1 | -1/+1 | |
|/ | ||||||
* | Change name of TASTY attribute to TASTY | Martin Odersky | 2015-04-25 | 1 | -1/+1 | |
| | | | | | It does not matter whether it comes from Dotty or elsewhere. We can record the name of the producer in a section of the format itself. | |||||
* | Produce one TASTY pickling per top-level class. | Martin Odersky | 2015-04-24 | 1 | -8/+6 | |
| | | | | | | | If a unit has several top-level classes or object (which are not linked classes of each other) each gets its own pickle information, which contains any enclosing package clauses and imports and then just the top-level class/object and its companion object. | |||||
* | Save TASTY in attribute of classfiles. | Dmitry Petrashko | 2015-04-24 | 1 | -1/+11 | |
| | ||||||
* | Better workaround for #342. This one works also for symbols which are ↵ | Dmitry Petrashko | 2015-04-16 | 1 | -1/+1 | |
| | | | | InSuperCall. | |||||
* | Force loading LambdaMetaFactory. | Dmitry Petrashko | 2015-04-16 | 1 | -0/+4 | |
| | | | | | Common interface with scalac tries not to load it it wasn't loaded already. We need it. | |||||
* | Give more precise types in desugarIdent. | Dmitry Petrashko | 2015-04-16 | 1 | -3/+3 | |
| | | | | It is known to return an actual Select. | |||||
* | Refactor BackendInterface.Select: desuggar only once. | Dmitry Petrashko | 2015-04-16 | 1 | -10/+20 | |
| | ||||||
* | Make dotty Idents transparent for common interface | Dmitry Petrashko | 2015-04-15 | 1 | -2/+13 | |
| | | | | | | | Scalac in some location(assigns for example) assumes that tree is a Select. In dotty it could also be an Ident. Simulate this. Fixes #477 | |||||
* | Ensure spaces after `if` in Dotty source. | Dmitry Petrashko | 2015-04-09 | 3 | -14/+14 | |
| | ||||||
* | Add spaces around + in dotty source. | Dmitry Petrashko | 2015-04-09 | 1 | -2/+2 | |
| | ||||||
* | Replace tabs with 4 spaces in Dotty source. | Dmitry Petrashko | 2015-04-09 | 1 | -0/+0 | |
| | ||||||
* | Make all Dotty source files end in newline. | Dmitry Petrashko | 2015-04-09 | 1 | -1/+1 | |
| | ||||||
* | Backend: emit all annotations. | Dmitry Petrashko | 2015-04-03 | 1 | -18/+43 | |
| | ||||||
* | Backend: Emmit simple annotations | Dmitry Petrashko | 2015-04-03 | 1 | -12/+141 | |
| | ||||||
* | Handle inner classes defined in suppercalls. | Dmitry Petrashko | 2015-04-02 | 1 | -1/+1 | |
| | ||||||
* | Emit inner classes table. | Dmitry Petrashko | 2015-04-02 | 1 | -7/+15 | |
| | ||||||
* | Emit abstract flag for non-abstract traits | Dmitry Petrashko | 2015-03-25 | 1 | -1/+2 | |
| | ||||||
* | Make CollectEntryPoints stable against type aliases. | Dmitry Petrashko | 2015-03-25 | 1 | -4/+12 | |
| | ||||||
* | Avoid capturing context in lazy trees | Martin Odersky | 2015-03-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | Lazy trees can live longer than runs, so it is important that they capture as little as possible. In particular they should not capture contexts. This change led with a ripple through effect to many changes where operations now have to parameterzied with contexts, in particular in what concerns tree folding. The changes in turn uncovered some areas where dotc was incompatible with scalac, and flagged correct things as errors. These will be fixed in the next commits. Another small twist: EmptyTrees will not be read in delayed mode, so that one can check for lacking definitions without deserializing the rhs. | |||||
* | Fix backend not emitting fields. | Dmitry Petrashko | 2015-03-18 | 1 | -1/+3 | |
| | ||||||
* | Remove workaround for #348. | Dmitry Petrashko | 2015-03-18 | 1 | -4/+1 | |
| | ||||||
* | Handle boxing inside labels, jump back to box. | Dmitry Petrashko | 2015-03-18 | 1 | -42/+67 | |
| | | | | | Erasure inserts boxing and unboxing of label returned values, ignoring the fact that some labels do not return. Now this is taken into account also inside labels which refer labels themselves | |||||
* | Workaround #371 module classes read from byte code have no syperclass | Dmitry Petrashko | 2015-03-11 | 1 | -1/+11 | |
| | ||||||
* | Workaround #348, linkedClass is broken after flatten | Dmitry Petrashko | 2015-03-11 | 1 | -1/+6 | |
| | ||||||
* | Implement handling of synthetic throw method in backend. | Dmitry Petrashko | 2015-03-05 | 1 | -4/+11 | |
| | | | | Having backend abstracted away from AST helps a lot here. | |||||
* | Eliminate Throw as a typed Tree | Martin Odersky | 2015-03-04 | 1 | -1/+3 | |
| | | | | | | | | Replace with <compiler-ops>.throw(exception) Only leave Throw as an untyped tree. | |||||
* | fix ambiguous reference when loading "equals" of object "BoxesRuntime" | Dmitry Petrashko | 2015-02-25 | 1 | -1/+1 | |
| | ||||||
* | Rework LabelDefs. Fixes boxing of a unit label killing backend. | Dmitry Petrashko | 2015-02-13 | 1 | -45/+58 | |
| | | | | | | | | Though still it would be better if erasure didn't emmit such trees, but still it's better to have this phase kore robust. Also made LabelDefs run in linear time on the size of tree instead of square on the Block-depth of tree. | |||||
* | workaround #342 | Dmitry Petrashko | 2015-01-30 | 1 | -0/+3 | |
| | | | | | That's a hack. That allows to continue to work on backend. Should be removed after #342 is fixed. | |||||
* | Handle Array.clone | Dmitry Petrashko | 2014-12-16 | 2 | -9/+20 | |
| |