summaryrefslogtreecommitdiff
path: root/test/files/neg
Commit message (Collapse)AuthorAgeFilesLines
* fixed #2290 and #2325Lukas Rytz2009-09-244-16/+43
|
* Deprecated case classes inheriting from other c...Paul Phillips2009-09-111-1/+1
| | | | | | Deprecated case classes inheriting from other case classes, and updated all the tests which did so.
* Fixed #2201 (slight rewrite of paulp's patch at...Adriaan Moors2009-09-111-1/+6
| | | | | | | | | | | | | | | | Fixed #2201 (slight rewrite of paulp's patch at http://github.com/paulp/scala/commit/24419959b4d6c93716c216bbf276948a830 4b4e6) ImplicitSearch::cacheResult now clones symbols that represent bound variables (more specifically, parameters of anonymous functions that are used as implicit values) to ensure that different bound variables are represented by different symbols (otherwise lambda lifting gets confused). updated check file for bug692: error-reporting got more complete because TypeRef::transform has been relaxed slightly
* added manifests to most parts of standard libra...Martin Odersky2009-08-273-3/+3
| | | | | | | added manifests to most parts of standard library which deal with arrays. One test is temporarily disabled, as it shows a deep problem with multi-dimensional arrays (which was present all along).
* Fix for #2275 with tests.Miles Sabin2009-08-254-0/+36
|
* updated checkfile for neg/viewtestAdriaan Moors2009-08-241-1/+7
|
* in the end had to disable conforms as view in t...Adriaan Moors2009-08-211-7/+1
| | | | | | | in the end had to disable conforms as view in tryImplicit (see comment in removeNames in NamesDefaults) fixed check file for viewtest added newTermName for conforms to StdNames, so removed the previous weirdness
* replaced the implicit `identity` coercion by `c...Adriaan Moors2009-08-211-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | replaced the implicit `identity` coercion by `conforms`, which can be used to encode generalised constraints the introduction of `conforms` revealed a bug in adaptToMember, which was inferring views while already inferring one, which gave rise to diverging implicits. Predef.identity is no longer special as far as the compiler is concerned. because conforms/identity was no longer prevented from being used as a view (which does not make sense, but preventing it shouldn't be necessary), removeNames in NamesDefaults suddenly didn't detect all ambiguities because it relied on tryTypedApply failing fixed by using an EmptyTree as an ambiguous argument instead of the argument, so failure is guaranteed fixed check file for t0590 new starr fixed the weirdest bug ever: don't know why, but can't change the total number of calls to newTermName in StdNames (so take away the one for "identity", give one back, doesn't matter where --> see "utterweirdness" at the end) the problem manifested itself by not finding Nil. This only happens during start up (when the scala/package.scala file hasn't been compiled yet), when Nil is required before List (because that would have forced Nil to be loaded).
* Revert several commits related to implicits/predefAdriaan Moors2009-08-211-3/+2
| | | | | | | | This reverts commits ce0ebb316c094814d72cc7dfcc7ac8e7c22f16c2 cd61aed60d71441308967bece13d87384a59d3e8 0becf263fe8f1dc74bc7277be5d2c6ed04047923
* improved previous fix for implicits and `conforms`Adriaan Moors2009-08-211-2/+3
| | | | | | | | | | | | | | because conforms/identity was no longer prevented from being used as a view (which does not make sense, but preventing it shouldn't be necessary), removeNames in NamesDefaults suddenly didn't detect all ambiguities because it relied on tryTypedApply failing fixed by using an EmptyTree as an ambiguous argument instead of the argument, so failure is guaranteed fixed check file for t0590 also reintroduced conforms, because we now have a new starr
* Fixed memory leaks for streams.Martin Odersky2009-08-183-1/+6
|
* More fleshing out Codec.Paul Phillips2009-08-171-1/+1
| | | | | | positioning change. Deleted instead of deprecated the two argument version of Iterator.iterate since it did not exist in 2.7.
* Fixed #1560 (which was a typing hole, so some l...Martin Odersky2009-08-151-13/+16
| | | | | | Fixed #1560 (which was a typing hole, so some library classes had to be fixed)
* fixed check fileMartin Odersky2009-08-141-16/+13
|
* Blocks can now end in definitions.Martin Odersky2009-08-143-22/+16
|
* fixed #2251Adriaan Moors2009-08-131-16/+13
|
* fix for 513: use deep ForeachTypeTraverser in d...Adriaan Moors2009-08-134-2/+12
| | | | | | fix for 513: use deep ForeachTypeTraverser in doTypeTraversal instead of shallow one test case+checkfile for #513
* Mixxsing checking for fix of #1642Martin Odersky2009-08-101-1/+6
|
* Fixed #1642Martin Odersky2009-08-101-0/+17
|
* fixed t1705.Martin Odersky2009-08-102-0/+42
|
* Revert "fixed #2208"Adriaan Moors2009-08-062-12/+0
| | | | | This reverts commit 2d437f2a62d7127abe907d61118ea448c9ad6c59.
* fixed #2208Adriaan Moors2009-08-062-0/+12
|
* rewrite of positions in compilerMartin Odersky2009-07-301-5/+1
|
* Added test case for #1764 to the test case for ...Paul Phillips2009-07-182-1/+9
| | | | | | Added test case for #1764 to the test case for #1878 (as #1764 was fixed along with it in r18343.)
* Fix and post/neg test cases for #1878.Paul Phillips2009-07-182-0/+17
|
* Trying to make typechecker faster by (1) new su...Martin Odersky2009-07-131-3/+3
| | | | | | | Trying to make typechecker faster by (1) new subtyping (2) better implicit caches. Disallowed '42 as a symbol. Added cache method to Mutable Maps. Better complietion in interactive.
* Lots of work hardening matching on sequences.Paul Phillips2009-07-073-4/+28
| | | | | | | | | | | | | | | | one long-standing bug which actually had a test case testing its bugginess (which is to say, when I fixed the bug, the test case failed.) This: - def doMatch4(xs:Seq[Char]) = xs match { - case Seq(x, y, _*) => x::y::Nil - case Seq(x, y, z, w) => List(z,w) // redundant! - } ...should never have compiled - which must have been recognized on some level given the "redundant!" comment, but it never made it into neg/.
* fix #2122, test for #2116Lukas Rytz2009-07-052-3/+13
|
* refined range positions some more; eliminated A...Martin Odersky2009-07-024-8/+5
| | | | | refined range positions some more; eliminated Array.withDims
* added "diagnostic" to context.Lukas Rytz2009-07-011-0/+3
|
* Enhanced error message when a type error is bec...Paul Phillips2009-06-303-2/+11
| | | | | | Enhanced error message when a type error is because of identically named classes, one in scala.* and one not.
* Added test for #2031.Philipp Haller2009-06-292-0/+15
|
* small fix to named argumentsLukas Rytz2009-06-252-20/+26
|
* named arguments only at top level in () paramet...Lukas Rytz2009-06-252-21/+33
| | | | | named arguments only at top level in () parameters.
* fixed bug in Parser and updated check files.Martin Odersky2009-06-255-14/+14
|
* Attempted to resolve the improbable mess surrou...Paul Phillips2009-06-224-6/+19
| | | | | | | | Attempted to resolve the improbable mess surrounding implicit conversions from Unit. Modified test case which relied on the supposedly verboten behavior; verbotenized () => AnyRef; added new test case which fails if verboten behavior should ever return.
* improvements to names / defaults (implicits, ty...Lukas Rytz2009-06-204-20/+46
| | | | | | improvements to names / defaults (implicits, type of defaults, #2064, ...)
* allow using named / default arguments in self- ...Lukas Rytz2009-06-152-32/+3
| | | | | | allow using named / default arguments in self- and super constructor calls. fixes #2050 and #2052.
* removed code for parsing old pickle format.Lukas Rytz2009-06-032-1/+9
|
* named argument disallowed when assignment expre...Lukas Rytz2009-06-021-16/+8
| | | | | | named argument disallowed when assignment expression would typecheck. minor fixe to names / defaults.
* reverted 17960, restored bug1241 w/ new check fileAntonio Cunei2009-06-023-4/+7
|
* Reverting 17948, disabling test.Antonio Cunei2009-06-023-7/+4
|
* Changed output error for bug1241.David MacIver2009-06-011-1/+4
|
* big overhaul of annotations implementation.Lukas Rytz2009-05-303-4/+4
|
* Named and default argumentsLukas Rytz2009-05-3016-35/+243
| | | | | | | - MethodTypes now have (params: List[Symbol]) - "copy"-methods for case classes - the "copy" object in the compiler is now called "treeCopy"
* Further development of the Numeric and Ordering...Paul Phillips2009-05-281-2/+2
| | | | | | | Further development of the Numeric and Ordering traits. Replaced Predef implicits from everything => Ordered with a single implicit from Ordering => Ordered.
* In "Iterable" and in all its subclasses, "itera...Gilles Dubochet2009-05-2710-33/+7
| | | | | | In "Iterable" and in all its subclasses, "iterator" replaces "elements" (and assorted changes).
* Updated neg check files to the new output of r1...Antonio Cunei2009-05-2024-23/+49
| | | | | Updated neg check files to the new output of r17773
* Rebuild all plugin tests and moved them back to...nielsen2009-05-1142-0/+374
| | | | | Rebuild all plugin tests and moved them back to the working test cases
* Fix and test case for #1960.Paul Phillips2009-05-082-0/+9
|