summaryrefslogtreecommitdiff
path: root/test/files/neg
Commit message (Collapse)AuthorAgeFilesLines
...
* Partial fix for #3774.Martin Odersky2010-08-312-0/+12
|
* this should fix our achy breaky build. no reviewAdriaan Moors2010-08-262-2/+4
|
* Closes #3776. No review.Martin Odersky2010-08-241-0/+10
|
* new tests. No review.Martin Odersky2010-08-241-0/+2
|
* in refchecks, visit the qualifier of irrefutabl...Lukas Rytz2010-08-233-0/+10
| | | | | | in refchecks, visit the qualifier of irrefutable filters. close #3773. review by moors.
* test for see #3769. no review.Lukas Rytz2010-08-232-0/+13
|
* forgot to update check file after renaming tests.Adriaan Moors2010-08-212-4/+4
|
* closes 2462. better implicit error messages.Adriaan Moors2010-08-204-0/+33
| | | | | | | | | | | | | | | | | | @implicitNotFound(msg="Custom error message that may refer to type parameters ${T} and ${U}") trait Constraint[T, U] whenever an implicit argument of type Constraint[A, B] cannot be found, the custom error message will be used, where the type arguments are interpolated in the obvious way note: if the msg in the annotation references non-existing type params, a warning is emitted the patch also cleans up annotation argument retrieval (moved it to AnnotationInfo from Symbol) review by odersky
* closes #3575.Adriaan Moors2010-08-203-0/+14
| | | | | | | | | | cloneSymbol now preserves privateWithin -- need to reset it explicitly now when before it was assumed to be not to be carried over rewrote accessibility in overriding checks so they're more readable, but hopefully with same semantics review by odersky
* Revert "closes #3757.Adriaan Moors2010-08-143-15/+0
| | | | | | | Martin's review indicated this needs a better solution. This reverts commit 6a62875b08f8a2c80aefee313f86429b2793ee2e.
* closes #3757.Adriaan Moors2010-08-143-0/+15
| | | | | | | | (I verified the added access check does not increase time for ant test-opt) review by odersky
* closes #3691.Adriaan Moors2010-08-142-0/+27
| | | | | | | | TODO: clean this up, introduce datatypes to denote kinds, split checkKindBounds into kind inference and subkind checking review by odersky
* closes #3663.Adriaan Moors2010-08-133-0/+23
| | | | | | | | | | | | | | namers wasn't setting privateWithin on java-defined variables (btw, ) shouldn't clone carry over privateWithin? better treatment of linked ) class access boundary (only check for access within linked class if it ) actually exists ) would have liked more control for the test case: only javac should compile the java file, then scalac should compile the scala file and fail review by odersky
* closes #3419: test filesAdriaan Moors2010-08-132-8/+11
| | | | | | | | | | | | omit check that wouldn't work with separate compilation, not needed anymore because compiler has become more robust the actual fix was committed as part of r22512, see #3374 also see #3512 no review
* Fixed type soundness problem someone raised on ...Martin Odersky2010-08-122-0/+20
| | | | | | Fixed type soundness problem someone raised on hackers news. Test in override.scala. Review by moors.
* An overhaul of checkSensible.Paul Phillips2010-08-103-62/+160
| | | | | | | | gives fewer insensible warnings about actually sensible things, etc. Large test case with 30 warnings elicited. Closes #282 (again), no review.
* Modified r22702 to avoid tarring overloads with...Paul Phillips2010-08-071-0/+13
| | | | | | Modified r22702 to avoid tarring overloads with the same brush. No review.
* Disallowed super.XX calls to Any methods which ...Paul Phillips2010-08-072-0/+34
| | | | | | | | | | Disallowed super.XX calls to Any methods which are presently either crashing the compiler (isInstanceOf) or leading to runtime failure (== and !=) in addition to one which was being rewritten to a this call but makes more sense disallowed like the others (##). Closes #3736, review by odersky.
* close #3403.Lukas Rytz2010-08-062-0/+6
|
* fix the failing test. review by dubochet.Lukas Rytz2010-08-051-1/+1
|
* close #3685. review by moors.Lukas Rytz2010-08-052-1/+74
|
* added @deprecatedName annotation, allowing to d...Lukas Rytz2010-08-035-5/+47
| | | | | | added @deprecatedName annotation, allowing to deprecate parameter names. review by prokopec.
* close #3648 (again).Lukas Rytz2010-07-132-5/+13
|
* Closes #3653.Adriaan Moors2010-07-122-0/+11
| | | | | | | | | | no review Author: Mark Harrah <dmharrah@gmail.com> Date: Thu Jul 8 10:30:57 2010 -0400 Source: http://github.com/harrah/scala-starrless/commit/0c7759c95b47cebc6d9fa77cefd34ef638e2706e Reviewer: moors
* closes #742.Adriaan Moors2010-07-082-0/+13
| | | | | review by extempore
* closes #3507: don't generate manifests where we...Adriaan Moors2010-07-082-0/+19
| | | | | | closes #3507: don't generate manifests where we can't refer to the existentially bound value
* closes #3399.Adriaan Moors2010-07-082-0/+28
| | | | | | | this broke the invariant that argss is a regular matrix review by odersky
* closes #3374.Adriaan Moors2010-07-082-17/+17
| | | | | review by odersky
* closes #3247: syntax error regarding context bo...Adriaan Moors2010-07-081-1/+1
| | | | | | closes #3247: syntax error regarding context bounds generalized to include view bounds as we cannot easily be more specific no review
* closes #2416.Adriaan Moors2010-07-082-0/+24
| | | | | | | | | | this patch introduces a new subclass of TypeTree: TypeTreeWithDeferredRefCheck, which tracks the type args and type params of a type application when it was beta-reduced during typing without checking that the application was well-kinded -- that check must wait until refchecks, but was never performed since the application had been beta-reduced away caveat discovered while working on the fix: adapt turned all trees for which _.isType holds into TypeTree's review by odersky
* When compilation fails because of an unimplemen...Paul Phillips2010-07-032-0/+50
| | | | | | | | When compilation fails because of an unimplemented abstract var, give a more precise error message about what happened. Also avoid issuing the same error twice because neither getter nor setter is implemented. Closes #36, review by rytz.
* Some more improvement on the error messages whe...Paul Phillips2010-07-022-0/+30
| | | | | | | Some more improvement on the error messages when @tailrec fails. Now it gives a sensible message if the recursive target is actually a supertype of this, rather than saying the call is not in tail position. No review.
* Fail more gracefully on > 22 case class paramet...Paul Phillips2010-07-022-0/+7
| | | | | | Fail more gracefully on > 22 case class parameters. Closes #3631, no review.
* Warded off a parser crash on certain invalid pr...Paul Phillips2010-07-012-0/+6
| | | | | | Warded off a parser crash on certain invalid programs. Closes #3209, no review.
* Test case closes #1845, no review.Paul Phillips2010-07-012-0/+14
|
* fixed #3604michelou2010-06-282-0/+13
|
* A wholesale reversion of the pattern matcher to...Paul Phillips2010-06-161-10/+1
| | | | | | | | A wholesale reversion of the pattern matcher to r21939, motivated by the appearance of #3578. Closes #3578, reopens #2800, #3050. Review by moors. (I can't keep saying "no review" when every move I make in here seems to break something.)
* removed integration of placeholder syntax and n...Lukas Rytz2010-06-162-3/+29
| | | | | | removed integration of placeholder syntax and named arguments. review by odersky
* Reverts r21973, the patch I characterized as "h...Paul Phillips2010-06-042-10/+0
| | | | | | | Reverts r21973, the patch I characterized as "hacky but no-risk" in my commit message, for causing #3480. Closes #3480. I'd say no review but who can trust a guy who throws around "no risk" with such abandon.
* also consider non-implicit locals when checking...Adriaan Moors2010-05-262-0/+87
| | | | | | | | | | | | | also consider non-implicit locals when checking shadowing of implicits: closes #3453 nonImplicitSynonymInScope implements the predicate that is used in tryImplicit's checks for shadowing of locally defined implicits benchmarking shows the predicate does not significantly affect quick.comp+quick.lib (goes from 11min to 11min2s on my machine -- no optimisations) review by odersky
* Closes #3434.Iulian Dragos2010-05-262-0/+33
|
* Added a migration warning for matches and insta...Paul Phillips2010-05-263-0/+43
| | | | | | Added a migration warning for matches and instance tests when it might be an Array/Seq test whose answer has changed. Review by odersky.
* Hacky but no-risk fix for #3189, which was caus...Paul Phillips2010-05-192-0/+10
| | | | | | | Hacky but no-risk fix for #3189, which was caused by the ghost of regular expression patterns rising from the grave to haunt the parser. No review.
* Rolled partest back to r21328.Paul Phillips2010-05-062-3/+2
| | | | | | | | changes necessary to plug it back in while preserving everything which has happened since then in tests and such, but we should be the lookout for overreversion. Review by phaller (but as a formality, I don't think it requires direct review.)
* Accumulate missing abstract member errors so th...Paul Phillips2010-04-303-1/+29
| | | | | | Accumulate missing abstract member errors so they can all be printed instead of only the first. Closes #2213, no review.
* removed the dir info of the error messages.Aleksandar Pokopec2010-04-291-5/+5
|
* Tightened variances check. Review by prokopec.Martin Odersky2010-04-292-5/+16
|
* A small error message improvement suggested at ...Paul Phillips2010-04-272-0/+9
| | | | | A small error message improvement suggested at #3092. No review.
* Created TypeDiagnostics trait and have begun op...Paul Phillips2010-04-276-2/+42
| | | | | | | | | | | Created TypeDiagnostics trait and have begun opportunistically moving code into it. Along the way, some improvements to error messages. The situation described in ticket #2206 has always had an applicable error message, but it wasn't making it out to the user. More kinds of ambiguity are disambiguated, see the test cases. And overload errors are printed with some formatting so one has some hope of parsing. Review by odersky.
* Fixed typo in error message. No review.Martin Odersky2010-04-231-2/+2
|