aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Disable tests that require scala-compilerGuillaume Martres2017-02-1810-1/+0
| | | | This is necessary if we ever want to get rid of our dependency on scala-compiler
* Merge pull request #1962 from dotty-staging/centralize-function-logicodersky2017-02-167-52/+111
|\ | | | | Factor out logic for scala functions.
| * Add checks for synthetic functions and erased functions.Nicolas Stucki2017-02-137-52/+111
| | | | | | | | | | | | | | | | * Add `isSyntheticFunction` checks for synthetic functions such as FuntionN for N > 22 and ImplicitFunctionN for N >= 0. * Add `erasedFunctionClass` to get the erased verion of synthetic functions. * Change the semantics of `isFunctionClass` to return true if it is any kind of FunctionN or ImplicitFunctionN.
* | Merge pull request #1983 from ennru/ennru_ExpectedTokenErrorFelix Mulder2017-02-156-13/+75
|\ \ | | | | | | Change '... expected but found ...' to Message
| * | Change '... expected but found ...' to MessageEnno Runne2017-02-146-13/+75
|/ /
* | Fix #1976: Hack to support scala.xml's $scope (#1977)odersky2017-02-145-1/+12
| | | | | | | | | | | | This is a gross hack to support the need for a $scope binding when XML literals are created. It should go away once we phase out XML literals. A library-based solution should use implicits instead.
* | Merge pull request #1979 from dotty-staging/fix-#1975Felix Mulder2017-02-142-5/+12
|\ \ | | | | | | Fix #1975: Align valdefs and for expressions for patterns
| * | Fix #1975: Align valdefs and for expressions for patternsMartin Odersky2017-02-142-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | val definitions and for expressions both distinguish whether something is a pattern or a variable binding. They no do it the same way: `ident` or an `ident: type` is a variable binding, everything else is a pattern. Previously, capitalized idents were considered as bindings in valdefs but as pattern in fors.
* | | disable auto-debug test (#1980)liu fengyun2017-02-142-2/+1
| | | | | | | | | | | | The non-determinism is anonying, disable for now until we have a better solution.
* | | Merge pull request #1978 from dotty-staging/debug-autoliu fengyun2017-02-141-1/+1
|\ \ \ | |/ / |/| | increase command wait time to 1s
| * | increase command wait time to 1sliu fengyun2017-02-141-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change helps to reduce non-determinism in the test. The problem can happen when two consecute commands interfere: [expect] [jdb] cmd1 ----> sleep 0.5 <--- part 1 of rep1 read & match buffer clear buffer cmd2 ----> <--- part 2 of rep1
* / Ennru forward reference error (#1973)Enno2017-02-144-3/+51
|/ | | | | | | | | | * Change 'forward reference extending over the definition' to Message * Change 'forward reference extending over the definition' to Message * pesky file should not be included * Change 'forward reference extending over the definition' to Message (test case)
* Merge pull request #1931 from dotty-staging/fix-#1501Guillaume Martres2017-02-136-4/+59
|\ | | | | Fix #1501 - Check trait inheritance condition
| * Fix package name of Java's Serializable classMartin Odersky2017-02-101-1/+1
| | | | | | | | It's java.io, not java.lang.
| * Narrow Java exception to inheritance ruleMartin Odersky2017-02-081-3/+5
| | | | | | | | | | Excepted are only Serializable and Comparable. This follows scalac's behavior.
| * Add test scenariosMartin Odersky2017-02-081-0/+10
| |
| * Update test caseMartin Odersky2017-02-081-1/+1
| |
| * Refine AnonClass generationMartin Odersky2017-02-081-1/+1
| | | | | | | | | | | | | | | | | | The leading class should be the superclass of the first trait (which is not always Object). We could think of a more refined condition, (i.e. taking the least common superclass of all extended traits), but I think it's not worth it, as one can always spell out the right superclass manually.
| * Refine checkTraitInheritance conditionMartin Odersky2017-02-081-3/+16
| | | | | | | | | | | | | | | | Need to take account of situations like extends Any with java.io.Serializable which occur in stdlib.
| * Fix #1501 - Check trait inheritance conditionMartin Odersky2017-02-083-1/+31
| | | | | | | | | | We need to check a coherence condition between the superclass of a trait and the superclass of an inheriting class or trait.
* | Merge pull request #1951 from dotty-staging/fix-1484Felix Mulder2017-02-1317-4/+471
|\ \ | | | | | | fix #1484: position of while incorrect in debug
| * | remove noise in test outputliu fengyun2017-02-111-4/+7
| | |
| * | add debug test to droneliu fengyun2017-02-102-1/+2
| | |
| * | remove dependency on scala scriptliu fengyun2017-02-103-172/+182
| | |
| * | add document for debug testsliu fengyun2017-02-101-0/+124
| | |
| * | add more debug files to the testsliu fengyun2017-02-106-0/+87
| | |
| * | add debug for ifliu fengyun2017-02-101-0/+20
| | |
| * | fix #1484: position of while incorrect in debugliu fengyun2017-02-106-3/+225
| | |
* | | Merge pull request #1969 from dotty-staging/fix/annot-funGuillaume Martres2017-02-132-1/+6
|\ \ \ | | | | | | | | Fix parsing annotation on function type
| * | | Fix parsing annotation on function typeGuillaume Martres2017-02-122-1/+6
| | | |
* | | | Merge pull request #1963 from dotty-staging/topic/dotty-botFelix Mulder2017-02-137-0/+811
|\ \ \ \ | | | | | | | | | | add dotty-bot
| * | | | Add sbt-assembly for dotty-botFelix Mulder2017-02-133-1/+9
| | | | |
| * | | | Move test resources to testFelix Mulder2017-02-132-0/+2
| | | | |
| * | | | Only make one request per authorOlivier Blanvillain2017-02-131-20/+19
| | | | |
| * | | | Use `.pure` at use site instead of warpping with Task.nowOlivier Blanvillain2017-02-132-11/+17
| | | | |
| * | | | Implement relevant functionality for bot, pagination!Felix Mulder2017-02-134-47/+200
| | | | |
| * | | | Add test for unmarshalling github issue form JSONFelix Mulder2017-02-134-88/+143
| | | | |
| * | | | Add initial steps to dotty-botFelix Mulder2017-02-134-0/+588
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR will add a bot whose first purpose is to check the CLA of contributing PRs. It improves on the old bot in that it checks each commit individually, and doesn't get upset about 100+ commits. It would be fun to do this PR with you @OlivierBlanvillain, feel free to provide feedback/comments and refactor as you like
* | | | Change 'overrides nothing' to report via Message (see #1965) (#1968)Enno2017-02-124-6/+98
| | | | | | | | | | | | | | | | | | | | | | | | * Change 'overrides nothing' to report via Message, split into two different messages * Change 'overrides nothing' to report via Message, split into two different messages
* | | | Merge pull request #1967 from ennru/ennru_AwsomeErrorMessagesFelix Mulder2017-02-102-4/+4
|\ \ \ \ | |_|/ / |/| | | Support expecting compiler errors from all phases
| * | | Support expecting compiler errors from all phasesEnno Runne2017-02-102-4/+4
|/ / /
* | | Merge pull request #1957 from dotty-staging/fix-dotc-dotr-scriptsFelix Mulder2017-02-107-48/+60
|\ \ \ | | | | | | | | Fix dotr/dotc scripts
| * | | Re-sign .drone.ymlOlivier Blanvillain2017-02-101-1/+1
| | | |
| * | | Create symbolic link to .ivy2 instead of using sbt argumentOlivier Blanvillain2017-02-101-1/+2
| | | |
| * | | println in executeScript, hoping to get around CI timeoutOlivier Blanvillain2017-02-101-1/+1
| | | |
| * | | Fix dotr/dotc to handle corrupted .packagesOlivier Blanvillain2017-02-102-3/+4
| | | |
| * | | Quote every string in scriptOlivier Blanvillain2017-02-103-35/+36
| | | |
| * | | Add println in TestScripts to prevent CI timeoutOlivier Blanvillain2017-02-071-1/+3
| | | |
| * | | Test that dotc script works after deleting .packagesOlivier Blanvillain2017-02-071-5/+12
| | | |
| * | | Fix dotr/dotc scriptsOlivier Blanvillain2017-02-073-3/+3
| | | |