| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Removed old Scalac code in sources and various other obsolete elements.
|
| |
|
|
|
|
|
| |
- added 'showType' parameter to function 'showTree'.
|
| |
|
|
|
|
|
| |
Credits: Most of the work was done by Martin Rubli as a semester project
|
| |
|
|
|
|
|
| |
Implemented support for the scala.cloneable attribute
|
|
|
|
|
|
| |
- bug fix: detect types whose instantiation can lead to infinite loops,
and compile them differently so that their parents are computed lazily
|
|
|
|
|
|
|
|
|
| |
- renamed weak* methods in ScalaClassType to isNonTrivial*, which better
reflects what they do, - moved these methods to ClassType, - made
getScalaType return a ClassType, to enable the forthcoming optimisation
making strongly trivial classes return a JavaClassType instead of a
ScalaClassType
|
| |
|
|
|
|
|
| |
- improved the interaction between arrays and run time types
|
| |
|
|
|
|
|
| |
- extended the notion of triviality to array types
|
|
|
|
|
|
|
| |
- added weakIsInstance method in ScalaClassType, which make it possible
to slightly optimise instance tests when the type is that of a known
class (e.g. x.isInstanceOf[C[T]])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- introduced isInstanceOf$erased and asInstanceOf$erased methods, which
work on the erased types; things to note:
* before TypesAsValues phase, either variant can be used, although
the erased ones need to be used with caution, when speed
matters;
* after TypesAsValues phase, only the erased variants should be
used (done automatically by TreeGen);
* when run time types are disabled, the TypesAsValues phase is not
skipped anymore: it is turned into a trivial phase which
rewrites all non-erased instanceof/casts into erased ones.
|
|
|
|
|
|
| |
- use TypeConstructor.FUNCTION_OUTER as a fake outer instance for
classes nested inside functions
|
|
|
|
|
|
|
| |
- renamed "checkCastability" (in Type and subclasses) to "cast", which
is nicer and closer to Java 1.5, - renamed "display" to "ancestors" in
run-time types
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- added a few methods and fields related to run time types
|
|
|
|
|
|
|
| |
- Removed method Transformer.apply(CompilationUnit[] - Added method )
Phase.apply(CompilationUnit - Adapted most phases to implement method )
Phase.apply(CompilationUnit instead of Phase.apply(CompilationUnit[] )
|
|
|
|
|
|
| |
- Removed class UniqueID (symbols have already an internal unique
identifier)
|
| |
|
|
|
|
|
|
| |
- added name for Java method 'readResolve' (see java.io.Serializable).
- rearranged list of names in alphabetic order.
|
|
|
|
|
| |
- Removed scalac.util.Reporter (replaced by scala.tools.util.Reporter)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Added names "finalize", "wait", "notify", "notifyAll"
|
|
|
|
|
| |
- Adapted to new class scala.tools.util.debug.Debug
|
|
|
|
|
| |
- Changed methods Debug.show to add separators between arguments
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Added creation of general access methods in ExplicitOuter
|
|
|
|
|
| |
- Added a setStringBuffer(null) in toString methods of SymbolNameWriter
|
|
|
|
|
|
| |
- Added appendSymbol with prefix in SymbolNameWriter Added toString
- methods in SymbolNameWriter
|
|
|
|
|
|
|
|
|
|
| |
- Split scala.tools.util.AbstractFile into several files Added
- scala.tools.util.DirectoryPath Added scala.tools.util.VirtualDirectory
- Changed interface of scala.tools.util.AbstractFile Rewrote
- scala.tools.util.ZipArchive (merged ZipArchive and JarArchive) Moved
- ClassPath to scala.tools.util Changed ClassPath and PackageParser to
- rely on DirectoryPath for file lookups
|
| |
|
|
|
|
|
|
| |
- Added functions to gather files from paths and extension dirs in
ClassPath
|
| |
|
|
|
|
|
| |
- Changed Scanner and SourceFile to work with chars instead of bytes
|
|
|
|
|
| |
- Replaced file String by an AbstractFile in SourceFile
|
|
|
|
|
| |
- Moved AbstractFile from scalac.util into scala.tools.util
|