summaryrefslogtreecommitdiff
path: root/test/files/presentation/properties.check
Commit message (Collapse)AuthorAgeFilesLines
* Disabled another presentation compiler test.Paul Phillips2011-12-091-158/+0
| | | | | | It foiled me right on the cusp of a successful windows nightly. https://scala-webapps.epfl.ch/jenkins/job/scala-nightly-windows/1170/consoleText
* Reverted ProductN parent for case classes.Paul Phillips2011-11-161-4/+2
| | | | | Looks like we will need blood, toil, tears, and sweat. No review.
* Updates for the ten tests I broke recently.Paul Phillips2011-11-081-3/+6
| | | | | Wow, ten tests, that's unexpected. No review.
* Fixed failing pc tests. no reviewHubert Plociniczak2011-10-311-6/+9
|
* Selective dealiasing when printing errors.Paul Phillips2011-10-031-45/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** Important note for busy commit log skimmers *** Symbol method "fullName" has been trying to serve the dual role of "how to print a symbol" and "how to find a class file." It cannot serve both these roles simultaneously, primarily because of package objects but other little things as well. Since in the majority of situations we want the one which corresponds to the idealized scala world, not the grubby bytecode, I went with that for fullName. When you require the path to a class (e.g. you are calling Class.forName) you should use javaClassName. package foo { package object bar { class Bippy } } If sym is Bippy's symbol, then sym.fullName == foo.bar.Bippy sym.javaClassName == foo.bar.package.Bippy *** End important note *** There are many situations where we (until now) forewent revealing everything we knew about a type mismatch. For instance, this isn't very helpful of scalac (at least in those more common cases where you didn't define type X on the previous repl line.) scala> type X = Int defined type alias X scala> def f(x: X): Byte = x <console>:8: error: type mismatch; found : X required: Byte def f(x: X): Byte = x ^ Now it says: found : X (which expands to) Int required: Byte def f(x: X): Byte = x ^ In addition I rearchitected a number of methods involving: - finding a symbol's owner - calculating a symbol's name - determining whether to print a prefix No review.
* fixed svn props and presentation check filesmichelou2011-08-191-3/+3
|
* Major rewrite of the testing infrastructure for...Micro Dotta2011-08-171-0/+152
Major rewrite of the testing infrastructure for the presentation compiler. Added several new tests that will be part of the nightly build. Once the move to SBT is completed I will look into how to extract the test infrastructure (as it should really not be living in the compiler codebase). Review by dragos