summaryrefslogtreecommitdiff
path: root/test/files/run/t5543.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-1803, plus documentation and cleanups in Namers, mainly in typeSigLukas Rytz2013-02-031-0/+19
| | | | | | | | | | | | | | | | | | - when typing (and naming) a ValDef, tpt and rhs are now type checked in the same context (the inner / ValDef context). this does not change any behavior, but is more uniform (same as for DefDef). martin told me (offline) that this change is desirable if it doesn't break anything. (it doesn't). - typeSig is now more uniform with a separate method for each case (methodSig, valDefSig, etc). methodSig was cleaned up (no more variables) and documented. the type returned by methodSig no longer contains / refers to type skolems, but to the actual type parameters (so we don't need to replace the skolems lateron). - documentation on constructor contexts, type skolems - more tests for SI-5543
* SI-5543: Ctor default arg wrongly scoped (revised)Som Snytt2012-04-281-1/+1
| | | | | | | This patch fixes the motivating bug by detecting when a method is the default arg getter for a constructor parameter. That requires fixing a secondary bug where an arbitrary string was used to encode <init> in lieu of <init>.encode. There is no speculative mangling.
* Ctor default-getters unique name and are typed in constructor contextSom Snytt2012-03-231-0/+26