Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | workaround for ScalaMeter incorrect report path | liu fengyun | 2016-04-14 | 2 | -9/+54 |
| | | | | | | | | | The ScalaMeter issue is reported here: https://github.com/scalameter/scalameter/pull/163/files The issue exists both in v0.7 and v0.6. As dotty uses v0.6 now, use this workaround until we upgrate to a new version of ScalaMeter. | ||||
* | Merge pull request #1213 from felixmulder/topic/comment-parsing-fix | Dmitry Petrashko | 2016-04-11 | 3 | -4/+34 |
|\ | | | | | Fix issues with `enterBlock` for comment parsing | ||||
| * | Fix issues with `enterBlock` for comment parsing | Felix Mulder | 2016-04-11 | 3 | -4/+34 |
|/ | |||||
* | Merge pull request #1151 from felixmulder/topic/wip-docstrings | odersky | 2016-04-08 | 11 | -46/+605 |
|\ | | | | | Add support for raw docstrings in ASTs | ||||
| * | Remove old datastructure for comments | Felix Mulder | 2016-04-07 | 1 | -7/+0 |
| | | |||||
| * | Add commandline argument `-Ykeep-comments` to remove hardcoding | Felix Mulder | 2016-04-07 | 3 | -7/+12 |
| | | |||||
| * | Add binding between Symbol and Untyped tree in base context | Felix Mulder | 2016-04-07 | 6 | -41/+95 |
| | | | | | | | | This commit also adds a printer for use by dottydoc. | ||||
| * | Implement comments as attachments instead of tree members | Felix Mulder | 2016-04-07 | 4 | -19/+16 |
| | | |||||
| * | Change tests to be based on JUnit, rename comments variable | Felix Mulder | 2016-04-07 | 3 | -515/+463 |
| | | |||||
| * | Add docstring support for types, vals, vars and defs | Felix Mulder | 2016-04-07 | 2 | -15/+150 |
| | | |||||
| * | Fix association of docstrings based on posisition | Felix Mulder | 2016-04-07 | 3 | -11/+71 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes errors that would've occurred in this situation: ``` /** Docstring 1 */ <- this one would've been chosen /** Docstring 2 */ /** Docstring 3 */ class Class ``` And this situation: ``` /** Docstring 1 */ trait Trait /** Docstring 2 */ <- this one would've been chosen ``` | ||||
| * | Add package object support | Felix Mulder | 2016-04-07 | 2 | -7/+99 |
| | | |||||
| * | Add ability to parse nested classes/traits docstrings | Felix Mulder | 2016-04-07 | 3 | -26/+85 |
| | | |||||
| * | Fix traits w/o bodies not getting the correct docstring | Felix Mulder | 2016-04-07 | 2 | -13/+38 |
| | | |||||
| * | Add tests for classes and traits | Felix Mulder | 2016-04-07 | 4 | -4/+163 |
| | | |||||
| * | Add initial support for raw docstrings in ASTs | Felix Mulder | 2016-04-07 | 3 | -9/+41 |
| | | |||||
* | | Merge pull request #1201 from liufengyun/i972 | Dmitry Petrashko | 2016-04-08 | 1 | -0/+74 |
|\ \ | |/ |/| | Check Java classes are not used as objects | ||||
| * | Check Java classes are not used as objects | liu fengyun | 2016-04-04 | 1 | -0/+74 |
| | | | | | | | | | | | | | | | | | | | | Following code should not pass Ycheck: import java.lang.Math val myMath: Math.type = Math myMath.sqrt(3.0) id(myMath) | ||||
* | | Merge pull request #1186 from dotty-staging/fix-#1185 | odersky | 2016-04-06 | 16 | -180/+380 |
|\ \ | | | | | | | Improvements to cyclic checking, avoidance, named parameters | ||||
| * | | Domain checking for named type parameters | Martin Odersky | 2016-03-30 | 3 | -10/+18 |
| | | | | | | | | | | | | | | | | | | Now verifies that the named type parameters of an overriding type or class are the same as the named type parameters of an overridden type. | ||||
| * | | Base deskolemize on ApproximatingTypeMap | Martin Odersky | 2016-03-30 | 1 | -88/+9 |
| | | | |||||
| * | | Add ApproximatingTypeMap class | Martin Odersky | 2016-03-30 | 1 | -22/+94 |
| | | | | | | | | | | | | | | | | | | Also: In a TypeMap, the variance of the prefix is unchanged (was: always 0). This brings it in line with TypeAccumulator and the subtyping rules. | ||||
| * | | Fix documentation of liftIfHK | Martin Odersky | 2016-03-30 | 1 | -1/+1 |
| | | | |||||
| * | | Fix a case in deskolemize. | Martin Odersky | 2016-03-30 | 1 | -1/+1 |
| | | | | | | | | | | | | We should not return a ClassInfo as a value type. | ||||
| * | | Simplify widenToParents | Martin Odersky | 2016-03-30 | 1 | -4/+5 |
| | | | | | | | | | | | | No need to form the glb. | ||||
| * | | Adapt type assignment for AppliedTypeTrees to new named params | Martin Odersky | 2016-03-30 | 1 | -6/+4 |
| | | | |||||
| * | | Test cases | Martin Odersky | 2016-03-30 | 2 | -2/+52 |
| | | | |||||
| * | | Don't lambda expand and/or types over named type parameters | Martin Odersky | 2016-03-30 | 1 | -2/+16 |
| | | | | | | | | | | | | | | | Do it only if at least one of the types has unnamed parameters. This is a fundamental conflict with how we deal with intersections and unions. | ||||
| * | | Take named type parameters into account when instantiating variables. | Martin Odersky | 2016-03-30 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | When instantiating a type variable, make the instance has the same named type parameters as the upper bound. This is the analogue of kind-correctness for named type parameters. | ||||
| * | | Add methods for expressing named type params | Martin Odersky | 2016-03-30 | 2 | -0/+75 |
| | | | | | | | | | | | | | | | Add methods for expressing what the named type parameters of a class or type are. Also, add a method that widens a type so that is has a specified set of named type parameters. | ||||
| * | | Fix bug in printing New nodes | Martin Odersky | 2016-03-30 | 1 | -1/+1 |
| | | | | | | | | | | | | Explicitly given type parameters were printed twice. | ||||
| * | | Fix test case. | Martin Odersky | 2016-03-30 | 1 | -4/+4 |
| | | | | | | | | | | | | The intent is that Repr implementations should not bind the Out parameter. | ||||
| * | | Fix error message output. | Martin Odersky | 2016-03-30 | 1 | -1/+1 |
| | | | | | | | | | | | | Type was printed in raw form. | ||||
| * | | Fix type-shifting problem in vcInlineMethods | Martin Odersky | 2016-03-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | vcInlineMethods could produce a different type on rewire which led to a -Ycheck failure. We now insert a cast when that happens. Test case: pos/flowops1.scala with -Ycheck:vcInline. | ||||
| * | | Add test for #1181 to pending | Martin Odersky | 2016-03-30 | 1 | -0/+12 |
| | | | |||||
| * | | Simplify and fix avoid logic | Martin Odersky | 2016-03-30 | 3 | -27/+43 |
| | | | | | | | | | | | | | | | The previous formulation broke for named parameters. Test case in flowops1.scala. | ||||
| * | | Fixes to checkNonCyclic | Martin Odersky | 2016-03-30 | 2 | -20/+49 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplified logic and now check prefixes of TypeRefs. Without the simplified logic we would get false cyclic errors for ski.scala. Test case: flowops.scala Fixes #1185. | ||||
* | | | Merge pull request #1199 from dotty-staging/fix-stale-sym | odersky | 2016-04-06 | 5 | -24/+24 |
|\ \ \ | | | | | | | | | Make erased value type take a TypeRef instead of a ClassSymbol | ||||
| * | | | Fix doc comment | Martin Odersky | 2016-04-03 | 1 | -1/+1 |
| | | | | |||||
| * | | | Make erased value type take a TypeRef instead of a ClassSymbol | Martin Odersky | 2016-04-03 | 5 | -23/+23 |
| | |/ | |/| | | | | | | | To address #1198, we need to avoid putting symbols in ErasedValueTypes. | ||||
* | | | Merge pull request #1203 from lampepfl/DarkDimius-patch-5 | odersky | 2016-04-06 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Two fixes to TermRefWithSignature.newLikeThis | ||||
| * | | | Fix TermRefWithSignature.newLikeThis | Dmitry Petrashko | 2016-04-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | Used to not support more precise prefixes. Assumed that symbol does not change. | ||||
| * | | | Fix double computation in TermRefWithSignature.newLikeThis | Dmitry Petrashko | 2016-04-04 | 1 | -1/+1 |
| |/ / | | | | | | | Used to compute `asMemberOf(prefix)` twice. | ||||
* | | | Merge pull request #1204 from liufengyun/jline | odersky | 2016-04-06 | 3 | -9/+19 |
|\ \ \ | |/ / |/| | | simple integration with jline | ||||
| * | | simple integration with jline | liu fengyun | 2016-04-05 | 3 | -9/+19 |
|/ / | |||||
* | | Merge pull request #1172 from dotty-staging/compiler-docs | odersky | 2016-04-01 | 35 | -82/+345 |
|\ \ | | | | | | | First of a series of compiler design documents | ||||
| * | | Drop Mode.scala from tasty_typer test | Martin Odersky | 2016-04-01 | 1 | -1/+1 |
| | | | | | | | | | | | | File was moved, it's no longer in package typer. | ||||
| * | | Polishing | Martin Odersky | 2016-04-01 | 1 | -10/+11 |
| | | | |||||
| * | | Better documentation of main classes | Martin Odersky | 2016-04-01 | 5 | -3/+12 |
| | | | |||||
| * | | Add links | Martin Odersky | 2016-04-01 | 1 | -6/+14 |
| | | |