summaryrefslogtreecommitdiff
path: root/src/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Forgot to commit Changes.scala in previous commitv2.8-divergedHubert Plociniczak2009-11-112-4/+5
|
* Partial fix for #2581.Hubert Plociniczak2009-11-111-0/+9
|
* The preferred way to convert between primitives...Paul Phillips2009-11-118-69/+69
| | | | | | | The preferred way to convert between primitives is to call .toInt etc, but there were lots of casts for historical reasons. This patch remedies that.
* Fixed #2591Martin Odersky2009-11-101-2/+3
|
* Fixed one of the issues in the BuildManager men...Hubert Plociniczak2009-11-101-0/+2
| | | | | | | | Fixed one of the issues in the BuildManager mentioned in #2590, where adding a missing reference wasn't causing compilation of the dependent files. Still, the solution to the whole ticket requires some changes to the scala plugin itself.
* Fixed issue #451 by updating structural method ...Gilles Dubochet2009-11-102-174/+139
| | | | | | Fixed issue #451 by updating structural method dispatch logic to work with new arrays.
* fixed comment for adjustTypeArgsAdriaan Moors2009-11-102-10/+15
|
* fixed #2511.Lukas Rytz2009-11-101-1/+4
|
* Breaks down the hash function in BoxesRunTime b...Paul Phillips2009-11-094-47/+7
| | | | | | | | | | | | | | | | Breaks down the hash function in BoxesRunTime by type so we can do as much as possible at compile time. Documents various trouble points I've identified with trying to get the hashCodes aligned. Test case exercises the hashCode functions. Deleted all the code associated with previous equality adventures. Don't worry, I can put anything back if it turns out we have to change course again, but for now it's noise. Also, gives return types to the box and unbox methods which are added to the primitive companions, so e.g. Int.box(5) now returns a j.l.Integer instead of an Object.
* attempt to fix build -- can't build on my old m...Adriaan Moors2009-11-092-5/+5
| | | | | attempt to fix build -- can't build on my old macbook, so flying blind :-/
* Reverted r19466, as the decision is now thatAntonio Cunei2009-11-091-13/+6
| | | | | isDefinedAt should /not/ be in Function1
* fixed bug in implicit resolution that only mani...Adriaan Moors2009-11-094-7/+32
| | | | | | | | | | | | | fixed bug in implicit resolution that only manifested itself when multiple implicit arguments needed to be resolved and they were intended to instantiate type parameters two problems: - type parameters that could not be inferred where removed from undetparams erroneously - the successfully inferred parameters were not propagated to the the implicit arguments on the right (implicit resolution searches for implicit arguments from left to right, fixing type parameters in the process) this should give the green light for the addition of Zipped to TupleN
* added `locally' to Predef.Martin Odersky2009-11-091-1/+1
| | | | | | added overloaded hashes to Predef. some small changes.
* Fixed #2557, #2562Hubert Plociniczak2009-11-091-11/+19
|
* Adds isDefinedAt to Function1. As a consequence,Antonio Cunei2009-11-091-6/+13
| | | | | | | | code that mixes in PartialFunction now have to define isDefinedAt as override. Fixes #2225.
* Fixed the optimizer for inlining correctly Scal...Iulian Dragos2009-11-093-9/+12
| | | | | Fixed the optimizer for inlining correctly ScalaRunTime.inlinedEquals
* Equality checks go to ScalaRunTime.inlinedEqual...Iulian Dragos2009-11-092-4/+13
| | | | | Equality checks go to ScalaRunTime.inlinedEquals when -optimise is on
* Fixed #2569Martin Odersky2009-11-091-2/+11
|
* Fixed #2504Martin Odersky2009-11-092-4/+11
| | | | | Fixed #2517
* Some @experimental cleanups/removals I missed o...Paul Phillips2009-11-082-2/+0
| | | | | Some @experimental cleanups/removals I missed on the last pass.
* Fixes issue #1006 by marking structural method ...Gilles Dubochet2009-11-081-7/+8
| | | | | | Fixes issue #1006 by marking structural method caches as `volatile` (and the array of parameter types as `final`).
* Tighter type checking rules for structural type...Gilles Dubochet2009-11-083-15/+75
| | | | | | Tighter type checking rules for structural types that fix issues #967, #1004, #1388, #1494, and #1906.
* Fixed #2503Martin Odersky2009-11-082-4/+8
|
* Fixed #2497Martin Odersky2009-11-071-4/+15
|
* Fixed #2414Martin Odersky2009-11-071-2/+7
|
* Fixed #2236Martin Odersky2009-11-071-2/+4
|
* Broke up foldBinOp logic a little bit looking t...Paul Phillips2009-11-071-99/+99
| | | | | | | Broke up foldBinOp logic a little bit looking to reduce the likelihood of inliner pathology. This also knocked about two minutes off my time to build optimised locker.
* Sped up build times by three minutes with a bri...Paul Phillips2009-11-071-4/+5
| | | | | | Sped up build times by three minutes with a brilliant optimization I like to call "comment out offending code."
* - Renames filterMap to partialMapPaul Phillips2009-11-064-8/+5
| | | | | | - Renames GenericRange to NumericRange - Removes most @experimental annotations
* Fixed initial variable binding for method param...Iulian Dragos2009-11-061-0/+6
| | | | | | Fixed initial variable binding for method parameters, that caused the inliner to infer wrong types for tail recursive methods
* added numeric widening and weak conformance.Martin Odersky2009-11-065-236/+208
|
* fix build on windows. fixes #2578Lukas Rytz2009-11-061-4/+12
|
* BuildManagerTest no longer throws npe when some...Hubert Plociniczak2009-11-051-2/+10
| | | | | | BuildManagerTest no longer throws npe when some of the files do not exist
* simplified re-ordering packagesLukas Rytz2009-11-051-9/+2
|
* Proposed fix for #2144 plus test case.Paul Phillips2009-11-041-2/+7
|
* fix cyclic reference errors in scaladoc.Lukas Rytz2009-11-043-9/+33
|
* Fix for #2556Hubert Plociniczak2009-11-041-0/+3
|
* Scala implementation of fancier hashCode algori...Paul Phillips2009-11-042-4/+8
| | | | | | | | Scala implementation of fancier hashCode algorithm. At the moment it isn't used unless you supply -Yjenkins-hashCodes to scalac. Without the flag, the supplied test case generates 12559 unique hashCodes among 90000 case class instances; with the flag it generates 89999.
* Fixed #2545.Martin Odersky2009-11-025-16/+39
|
* Corrected comment contents.Miles Sabin2009-11-011-1/+2
|
* Proper fix for #2280Hubert Plociniczak2009-10-303-76/+85
|
* Added -Ybuilder-debug:[none,simple,refined] opt...Miles Sabin2009-10-305-1/+28
| | | | | | | Added -Ybuilder-debug:[none,simple,refined] option for testing the interactive build manager; added support for reporting comments during compilation; unbroke the test.positions build target.
* Reverted [19310] ...Miles Sabin2009-10-294-64/+71
|
* AnnotationInfo.pos no longer in constructor.Lukas Rytz2009-10-2916-45/+48
|
* added -Yhigher-kinded-raw switch as temporary w...Adriaan Moors2009-10-292-1/+2
| | | | | added -Yhigher-kinded-raw switch as temporary workaround for #2454
* changed standard library so that it does not re...Martin Odersky2009-10-281-1/+6
| | | | | | | | changed standard library so that it does not rely in scala package object in initial bootstrap of Predef. Disabled reading scala package during that bootstrap. This is an attempt to solve the cyclic reference errors in #2501.
* Whole bunch of code for people interested in eq...Paul Phillips2009-10-283-33/+29
| | | | | | | | Whole bunch of code for people interested in equality. This includes four command line options you can use to alter equality semantics and the various levels of babbling and panicking which the runtime has to offer when confronted with a boxed primitive comparison.
* Fix for #1909Hubert Plociniczak2009-10-282-9/+2
|
* fixed typoMartin Odersky2009-10-281-1/+1
|
* Fixed #1342.Martin Odersky2009-10-288-33/+141
|