aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #2108 from dotty-staging/fix-match-in-mergeCompanionDefsodersky2017-03-161-1/+1
|\ \ \ | | | | | | | | Make pattern match exhaustive for mergeCompanionDefs.
| * | | Remove warning from non exhaustive match in mergeCompanionDefs.Nicolas Stucki2017-03-161-1/+1
|/ / /
* | | Merge pull request #2107 from dotty-staging/disable/sbt-reporterFelix Mulder2017-03-161-1/+1
|\ \ \ | |/ / |/| | sbt-bridge: Fix #2092: Disable position information in the reporter
| * | sbt-bridge: Fix #2092: Disable position information in the reporterGuillaume Martres2017-03-151-1/+1
|/ / | | | | | | | | | | This is temporary until someone figures out how to get sbt to not print duplicated information when this is turned on. This might require changes to sbt itself.
* | Merge pull request #2074 from vlthr/dottydoc-entity-implicitsFelix Mulder2017-03-152-209/+460
|\ \ | | | | | | [WIP] consolidate entity serialization
| * | address feedback on #2074Valthor Halldorsson2017-03-142-123/+346
| | | | | | | | | | | | | | | | | | | | | | | | - Added tests to ensure that the results of serialization match their pre-serialization values. - Removed unused parameter `extras` from Entity.asJava() implicit methods. - Removed _root_ imports - Fixed several code style issues
| * | consolidate entity serialization into single classValthor Halldorsson2017-03-102-166/+194
| | | | | | | | | | | | | | | | | | - refactored JavaEntity to be DRY with respect to repeating the serialization of fields shared by many types of entities - added tests
* | | Merge pull request #2096 from dotty-staging/fix-i2051Dmitry Petrashko2017-03-153-3/+15
|\ \ \ | | | | | | | | Fix #2051: allow override T with => T or ()T
| * | | add more testsliu fengyun2017-03-141-0/+7
| | | |
| * | | add neg test for #2051liu fengyun2017-03-141-0/+2
| | | |
| * | | fix #2051: allow override T with => T or ()Tliu fengyun2017-03-142-3/+6
| | | |
* | | | Merge pull request #2043 from dotty-staging/tailrec-derivesFromDmitry Petrashko2017-03-1512-50/+60
|\ \ \ \ | | | | | | | | | | Tailrec for derivesFrom/lookupRefined/classSymbol/classSymbols
| * | | | Add @tailrec to avoid regressions.Nicolas Stucki2017-03-0112-44/+54
| | | | |
| * | | | Make loop in derivesFrom a tailrec loop.Nicolas Stucki2017-03-011-6/+6
| | | | |
* | | | | Merge pull request #2079 from dotty-staging/depmeth2odersky2017-03-1433-142/+242
|\ \ \ \ \ | | | | | | | | | | | | Allow inter-parameter dependencies
| * | | | | Drop dead method and testMartin Odersky2017-03-141-19/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All PolyTypes get variances passed, so isTypeLambda is always true and the deleted assert is never triggered.
| * | | | | Fix unrelated typos in commentsMartin Odersky2017-03-142-7/+7
| | | | | |
| * | | | | Test casesMartin Odersky2017-03-142-0/+28
| | | | | |
| * | | | | Check there are no forward dependencies to method parametersMartin Odersky2017-03-142-1/+20
| | | | | |
| * | | | | Fix unpickling of param-dependent methodsMartin Odersky2017-03-141-2/+2
| | | | | |
| * | | | | Drop mixed MethodType apply methodMartin Odersky2017-03-145-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The dropped method takes direct parameter types but a result type expression. Since parameter types are now in general dependent as well, that method is mostly redundant.
| * | | | | Take parameter dependencies into accountMartin Odersky2017-03-142-5/+27
| | | | | | | | | | | | | | | | | | | | | | | | Take parameter dependencies into account when typechecking arguments.
| * | | | | Add method to track parameter dependency statusMartin Odersky2017-03-141-4/+24
| | | | | |
| * | | | | Construct dependent method types from symbolsMartin Odersky2017-03-142-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: check validity of method types, so that no forward references occur.
| * | | | | Construct MethodTypes from parameter closureMartin Odersky2017-03-1425-96/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To allow for dependencies between method type parameters, construct MethodTypes from a closure that maps the currently constructed MethodType to its parameter types.
* | | | | | Merge pull request #2098 from dotty-staging/fix-i1960Guillaume Martres2017-03-141-0/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix #1960: add test
| * | | | | | add test for #1960liu fengyun2017-03-141-0/+8
| | |_|/ / / | |/| | | |
* | | | | | Merge pull request #2097 from dotty-staging/fix-i1706Guillaume Martres2017-03-141-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix #1706: add test
| * | | | | | add test for #1706liu fengyun2017-03-141-0/+3
| |/ / / / / | | | | | | | | | | | | | | | | | | The bug is already fixed in PR #1724 while fixing another issue
* | | | | | Merge pull request #2100 from dotty-staging/fix/sbt-reporterGuillaume Martres2017-03-141-9/+27
|\ \ \ \ \ \ | | | | | | | | | | | | | | Various fixes to the sbt reporter
| * | | | | | sbt-bridge: Fix lineContent, pointer, pointerSpaceGuillaume Martres2017-03-141-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes were done to imitate how these fields are set in https://github.com/sbt/sbt/blob/0.13/compile/interface/src/main/scala/xsbt/DelegatingReporter.scala The main issue this fixes is sbt displaying the ^ pointer way too far, because the number of spaces was set from the beginning of the file instead of the beginning of the line.
| * | | | | | sbt-bridge: Reduce verbosity by using intermediate variableGuillaume Martres2017-03-141-6/+7
| | | | | | |
| * | | | | | sbt-bridge: simpler way to get file pathGuillaume Martres2017-03-141-4/+5
| | | | | | |
| * | | | | | sbt-bridge: Don't crash when a Message does not have a PositionGuillaume Martres2017-03-141-9/+23
|/ / / / / /
* | | | | | Merge pull request #2091 from dotty-staging/fix-#2077Guillaume Martres2017-03-144-11/+21
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Fix #2077: Optimization of constant conditionals
| * | | | | Fix #2077: Optimization of constant conditionalsMartin Odersky2017-03-134-11/+21
| |/ / / / | | | | | | | | | | | | | | | | | | | | Move fixed logic to FirstTransform, where the other constant folding operations are also done.
* | | | | Merge pull request #2090 from dotty-staging/fix/ParSetLikeodersky2017-03-142-0/+11
|\ \ \ \ \ | | | | | | | | | | | | Fix #2089: Error when compiling ParSetLike, ParSet, SetLike, in this order
| * | | | | Fix #2089: Error when compiling ParSetLike, ParSet, SetLike, in this orderGuillaume Martres2017-03-132-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix is inspired by 6c91684, but I couldn't tell you why it works exactly, it's just something I tried.
* | | | | | Merge pull request #2093 from dotty-staging/fix/sourceFileodersky2017-03-141-4/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix Symbol#sourceFile not working after Flatten
| * | | | | | Fix Symbol#sourceFile not working after FlattenGuillaume Martres2017-03-141-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SourceFile annotation is only present on the non-flattened top-level class.
* | | | | | | Merge pull request #2094 from dotty-staging/fix-i2071odersky2017-03-142-0/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix #2071: handle HKApply in SAMType
| * | | | | | | fix #2071: handle HKApply in SAMTypeliu fengyun2017-03-142-0/+9
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge pull request #2095 from dotty-staging/posfixodersky2017-03-141-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Fix #1488: position fix for lazy vals
| * | | | | | fix #1488: unfriendly jumping in evaluating lazy val blockliu fengyun2017-03-141-1/+1
|/ / / / / /
* | | | | | Merge pull request #2087 from dotty-staging/fix/ParSetLikeodersky2017-03-132-3/+4
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / Fix compilation of ParSetLike by itself
| * / / / Fix compilation of ParSetLike by itselfGuillaume Martres2017-03-132-3/+4
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Before this commit, ParSetLike compiled fine as part of compileStdLib but crashed when compiled by itself because we tried to force a LazyRef while forcing the same LazyRef. This commit fixes this by being slightly more lazy where it matters.
* | | | Merge pull request #2080 from dotty-staging/fix#-2066odersky2017-03-127-16/+72
|\ \ \ \ | | | | | | | | | | Fix #2066: Don't qualify private members in SelectionProto's...
| * | | | Alternative fix of #2066.Martin Odersky2017-03-124-16/+51
| | | | | | | | | | | | | | | | | | | | | | | | | Now we never match `? { name: T }` with types that have only a private `name` member. This is what scalac does, too.
| * | | | Fix #2066: Don't qualify private members in SelectionProto's...Martin Odersky2017-03-124-3/+24
| | | | | | | | | | | | | | | | | | | | ... unless they would be accessible in the given context.
* | | | | Merge pull request #2083 from dotty-staging/fix/plainprinter-posGuillaume Martres2017-03-121-1/+1
|\ \ \ \ \ | | | | | | | | | | | | -Yplain-printer: do not print positions by default