Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Hoisting out commonly used values into util.common | Martin Odersky | 2013-11-28 | 1 | -0/+16 |
| | | | | ... because this cuts down on object creations. Also, some polishings in Denotations. | ||||
* | Tweaks to SimpleMap | Martin Odersky | 2013-11-22 | 1 | -62/+94 |
| | | | | Now uses a custom representation for sizes 4 and over. This improves on the previous representation in terms of immutable.Map because it is more efficient for smaller sizes and keeps orderedness. Being ordered is important for making things replayable. | ||||
* | Reporting max constraint | Martin Odersky | 2013-11-10 | 1 | -3/+1 |
| | | | | Instead of throwing an exception if SImpleMap size goes over some threshold, we now report the largest constraint encountered in a run. | ||||
* | Fixing Position.contains(NoPosition) | Martin Odersky | 2013-11-09 | 1 | -2/+1 |
| | |||||
* | Adding a size method to SimpleMap. | Martin Odersky | 2013-11-06 | 1 | -0/+8 |
| | |||||
* | Limit size of SImpleMap | Martin Odersky | 2013-10-31 | 1 | -1/+3 |
| | | | | This is a debugging measure so we are notified when maps blow up beyond some "reasonable" limit. (Yet to be seen what constituted "reasonable".) | ||||
* | Made mapValues conservative | Martin Odersky | 2013-10-30 | 1 | -29/+50 |
| | | | | mapValues is now strict on all maps and will return the map itself if the passed function causes no change in values. | ||||
* | Added option -Yheartbeat | Martin Odersky | 2013-10-01 | 1 | -1/+42 |
| | | | | … which shows snapshot of the callstack of tracked operations at fixed intervals. | ||||
* | Made sourcePos more robust | Martin Odersky | 2013-09-30 | 1 | -1/+2 |
| | | | | Now survives NoPosition. | ||||
* | Direct access to symbol in TermRef | Martin Odersky | 2013-09-26 | 1 | -1/+1 |
| | | | | If symbol was given explicitly, return it directly rather than going through denot. | ||||
* | Improvements in implicits error reporting | Martin Odersky | 2013-09-06 | 1 | -1/+3 |
| | | | | Plus a few bugfixes for implicits | ||||
* | Made SimpleMap non-variant in key type and added map2 method. | Martin Odersky | 2013-09-05 | 1 | -16/+32 |
| | | | | Better type for foreachKey that way. | ||||
* | Fixing two typer bugs | Martin Odersky | 2013-08-20 | 1 | -1/+3 |
| | | | | | 1) Context was messed up when issuing errors from findRef 2) EmptyTrees should not be adapted | ||||
* | Several fixes and refactorings for typechecking | Martin Odersky | 2013-08-19 | 1 | -0/+3 |
| | | | | | | | | | | | 1) Refactoring of package loaders that ensures that a package is always loaded before new members are entered. This led to a refactoring of sourceModule in completers into its own trait 2) Refactoring of optSelfType ot selfInfo. Class Infos may now have a reference to a symbol in their selfInfo field, instead of always a type, as it was before. This allows to introduce laziness for self type evaluation. Laziness is needed so that modules can be desugared and the desugared version be compiled without special tricks. 3) <init> and $init members are no longer inherited. 4) Refactoring of createSymbol and enterSym, so that creating symbols and entering them in a scope is decoupled. Renamed the driver operation form `enterSym(s)` to `index`. | ||||
* | Made NameTransformer encode return the kind of name it is given. | Martin Odersky | 2013-08-19 | 1 | -2/+4 |
| | | | | Fixes a bug in typedIdent. | ||||
* | Handling typevars in inference. | Martin Odersky | 2013-08-01 | 1 | -0/+8 |
| | | | | Fleshed out handling of typevars for type inference. Also added some more methods to typer, for blocks, ifs and assignments. (Closures are still wip). | ||||
* | Additions needed to support implicits. | Martin Odersky | 2013-07-19 | 1 | -2/+2 |
| | | | | | | Still to do: - properly account for bounded wildcard types - set up scheme for nested diagnostics buffers. | ||||
* | Added a mapValues method to SimpleMap | Martin Odersky | 2013-06-22 | 1 | -0/+14 |
| | |||||
* | Flehsed out constraints, with more efficient maps. | Martin Odersky | 2013-06-22 | 1 | -0/+125 |
| | |||||
* | Namer redesign. | Martin Odersky | 2013-06-06 | 1 | -2/+3 |
| | | | | A new design that relies on DefDef local maps, instead of global maps before. | ||||
* | wip, because I have to get off this machine. | Martin Odersky | 2013-05-30 | 1 | -3/+2 |
| | |||||
* | wip namer. | Martin Odersky | 2013-05-28 | 1 | -7/+3 |
| | |||||
* | Parser tweaks to handling new and templates. | Martin Odersky | 2013-05-24 | 1 | -2/+3 |
| | |||||
* | NameTransformer.encode now goes from names to names. | Martin Odersky | 2013-05-24 | 1 | -6/+9 |
| | | | | Also, special treatment of <init>, which is not encoded. | ||||
* | Refactored Printers, Showable and Text into new package dotc.printing. | Martin Odersky | 2013-05-14 | 1 | -154/+0 |
| | |||||
* | First tiny bit of statistics. | Martin Odersky | 2013-05-13 | 1 | -0/+7 |
| | |||||
* | new tests and worksheets | Martin Odersky | 2013-05-12 | 1 | -0/+18 |
| | |||||
* | Adding toString to Source positions. | Martin Odersky | 2013-05-12 | 1 | -1/+5 |
| | |||||
* | Various fixes to Positions. | Martin Odersky | 2013-05-12 | 1 | -20/+42 |
| | |||||
* | Refactored and augmented source positions. | Martin Odersky | 2013-05-10 | 3 | -11/+40 |
| | | | | Also Implemented ConsoleReporter formatting. | ||||
* | Improvements in error handling of parser | Martin Odersky | 2013-05-08 | 1 | -0/+2 |
| | | | | Also some simplifications and eliminations of unused code. | ||||
* | Added a parser. | Martin Odersky | 2013-05-07 | 1 | -1/+1 |
| | | | | | | | | Synced parser and SyntaxSymmary. Parser now produces untyped trees that need to be desugared further. Also some tweaks to position to make it work well. This is a first version. | ||||
* | New tree organization, with untyped trees that closely model source. | Martin Odersky | 2013-04-30 | 1 | -1/+1 |
| | |||||
* | Re-vamping of positions, and split into synthetic and source-derived. | Martin Odersky | 2013-04-30 | 1 | -28/+72 |
| | |||||
* | Modifications in prepation of parsing. | Martin Odersky | 2013-04-23 | 1 | -2/+12 |
| | |||||
* | Added symbolic XML builder | Martin Odersky | 2013-04-19 | 1 | -0/+1 |
| | |||||
* | Added TreeBuilder and TreeInfo classes. | Martin Odersky | 2013-04-19 | 1 | -0/+2 |
| | | | | Also changed Untyped from Nothing to Null, because it avoids type inference problems. | ||||
* | Scanners added. | Martin Odersky | 2013-04-17 | 4 | -0/+331 |
| | | | | | | | Moving Positions, Chars to new packages. Added Source positions. Added untyped trees module. Factored out behavior between typed and untyped trees. | ||||
* | More fixes to classfile reading. | Martin Odersky | 2013-03-21 | 1 | -0/+1 |
| | | | | Can now read all classes in scala.collection.generic. Some failures remain for their companion objects. | ||||
* | Pretty-printing improvements. | Martin Odersky | 2013-03-20 | 1 | -39/+69 |
| | |||||
* | First draft of pretty printing abstractions | Martin Odersky | 2013-03-20 | 1 | -0/+123 |
| | |||||
* | Various fixes to get past Definitions#init. | Martin Odersky | 2013-03-13 | 1 | -0/+294 |
| | |||||
* | New LRU Cache implementation | Martin Odersky | 2013-03-03 | 3 | -95/+148 |
| | |||||
* | Initial commit | Martin Odersky | 2012-12-06 | 4 | -0/+403 |