summaryrefslogtreecommitdiff
path: root/test/files/run/existentials-in-compiler.check
Commit message (Collapse)AuthorAgeFilesLines
* A very interesting checkfile update.Paul Phillips2013-01-261-22/+22
| | | | Surely signfiicant, but I haven't determined in what way.
* Fix and simplify typedTypeConstructor.Paul Phillips2012-12-281-52/+52
| | | | | | | | | | | | | | | | | | | | | | | | 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 tests to account for SIP 18Martin Odersky2012-04-131-8/+8
|
* Lots of tedious warning and tree printing work.Paul Phillips2012-03-201-52/+52
| | | | | | | | | | | Fewer deprecation warnings, prettier trees, prettier symbols, more polished error messages. Oh the interesting people you meet handling warnings, I feel sorry for you all that I get to do it all the time. One of the characters I met invited me into the "Dead Code Society" and that's what I'm doing on Tuesdays now. No of course you haven't, it's a SECRET society.
* Existential printing, plus more compiler testing infrastructure.Paul Phillips2012-02-131-0/+156
Direct compiler internals testing. It's really easy, you should probably use it about 1000 times each. Look at the test: run/existentials-in-compiler.scala The checkfile contains the (string representations of the) actual existentials from the compiler to make sure they correspond properly to the ones in the source. Existentials were being printed with wildcards too freely; this has been tightened up.