summaryrefslogtreecommitdiff
path: root/test/files/scalap/traitObject
Commit message (Collapse)AuthorAgeFilesLines
* Fix and simplify typedTypeConstructor.Paul Phillips2012-12-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Investigating the useful output of devWarning (-Xdev people, it's good for you) led back to this comment: "normalize to get rid of type aliases" You may know that this is not all the normalizing does. Normalizing also turns TypeRefs with unapplied arguments (type constructors) into PolyTypes. That means that when typedParentType would call typedTypeConstructor it would find its parent had morphed into a PolyType. Not that it noticed; it would blithely continue and unwittingly discard the type arguments by way of appliedType (which smoothly logged the incident, thank you appliedType.) The simplification of typedTypeConstructor: There was a whole complicated special treatment of AnyRef here which appears to have become unnecessary. Removed special treatment and lit a candle for regularity. Updated lots of tests regarding newly not-so-special AnyRef.
* Fixed a bunch of scalap check files to account for absence of ScalaObjectMartin Odersky2012-02-061-2/+2
|
* better fix for see #3667.Lukas Rytz2010-08-171-1/+0
|
* close #3667.Lukas Rytz2010-08-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | scala> def ser(o: AnyRef) = new java.io.ObjectOutputStream(new java.io.ByteArrayOutputStream()).writeObject(o) ser: (o: AnyRef)Unit scala> @serializable class Outer { | case class Inner(x: Int) | } defined class Outer scala> val o = new Outer o: Outer = Outer@34469729 scala> ser(new o.Inner(1)) scala> o.Inner // initialize the Inner$module field of o res1: o.Inner.type = Inner scala> ser(new o.Inner(1)) java.io.NotSerializableException: Outer$Inner$ review by extempore.
* [no content change] Fixed all SVN properties: m...Gilles Dubochet2009-09-242-2/+2
| | | | | | | | [no content change] Fixed all SVN properties: mimes, EOL, executable. Id expansion is consistently enabled for Scala/Java/C# sources in 'src/' and consistently disabled and removed from everywhere else: there should not be any dead Id tags anymore.
* scalap changed to treat named parameters and pa...ilyas2009-06-291-1/+1
| | | | | scalap changed to treat named parameters and package objects
* Scala decompiler test suite addedilyas2009-05-062-0/+15