| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
and the various Int types all use different hashCode algorithms. This
means there is very broken behavior afoot among the types. I see no
option but to make numeric equals significantly less tricky.
|
|
|
|
|
| |
Created DelayedLazyVal for your def/val hybrid needs.
|
| |
|
|
|
|
|
|
| |
improvements to names / defaults (implicits, type of defaults, #2064,
...)
|
|
|
|
|
| |
Added jline as optional dependency to scala-compiler pom
|
|
|
|
|
|
| |
Removed some useless type arguments which survived an earlier iteration,
and resolved an implicit ambiguity that snuck into SpecializeTypes.
|
|
|
|
|
| |
class Foo[@specialized("Int, Double") T] ..
|
|
|
|
|
|
|
|
|
| |
Created scala.reflect.Invocation, which offers an easy syntax for
reflective method calls, like: "abcdefgh" o 'endsWith("gh") // returns
Any
val res: Boolean = "abc" oo 'endsWith("z") // casts to expected type
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Small fixes in code generation for interface calls.
|
|
|
|
|
|
| |
Fixed symbol loaders when called at a very late phase (for example, when
inner classes are lifted).
|
|
|
|
|
|
| |
(1) some changes to interactive compiler interface. 2) added
(symbol.hasTypeAt 3) Added flatten/transpose/unzip to TraversableClass
|
|
|
|
|
|
|
| |
Removed some useless files which declare themselves non-existent for the
dotnet target, clearly without realizing they don't exist for any other
target either.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Adds @experimental annotation to lower the activation energy wall
between me and all my good ideas. Then took advantage of same to add
the experimental filterMap to Traversable. (I consider its goodness
undeniable, but its name at least is experimental.)
|
|
|
|
|
|
| |
Newly generated Tuple/Product/Function classes from new genprod, plus a
couple minor tweaks to genprod to keep tests happy.
|
|
|
|
|
|
| |
Close to complete rewrite of genprod so it's easier to modify and
leverage for other exciting Foo1-Foo22 classes.
|
| |
|
|
|
|
|
|
| |
attempted to bring Map/Set/Sequence/Iterable up to date with the methods
in their underlying classes.
|
|
|
|
|
| |
cleaned up eta-expansion of partial named applications
|
|
|
|
|
| |
added headers, svn keywords, updated pilib examples
|
| |
|
|
|
|
|
|
| |
allow using named / default arguments in self- and super constructor
calls. fixes #2050 and #2052.
|
| |
|
|
|
|
|
| |
- Symbol.annotations now first calls .initialize
|
| |
|
|
|
|
|
|
| |
Loosened tab-completion requirements so one can see inner objects like
Range.BigInt.
|
|
|
|
|
|
|
| |
A RichClass for the java side which offers typed Constructors. Working
around bug #1560 and improving on the java interface. Also a small
experiment in the reflection department.
|
|
|
|
|
|
|
| |
Lots and lots of BigInt and BigDecimal code attempting to make it all
consistent and equality correct and consistent (to the extent that's
even possible.) I'll be glad when this is over.
|
|
|
|
|
|
| |
Fixed a number of things in the icode reader, optimizations still not
fully functional.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Trying to bring BigDecimal all the way up to speed with its java
counterpart. Added a MathContext val and perform all operations with
that MathContext, and an apply method which accepts a math context so
you can e.g.:
val x = BigDecimal(1.0)
x / 3 // ArithmeticException
x(DECIMAL32) / 3 // 0.3333333
Also added most of the java BigDecimal methods which for whatever reason
weren't exposed by the wrapper.
Precision to infinity... and beyond!
|
| |
|
|
|
|
|
| |
Minor cleanups while I evaluate rewriting the pattern matcher.
|
| |
|
| |
|
|
|
|
|
|
| |
A couple findbugs inspired bugfixes, and a new trait
scala.util.Hashable, now used by GenericRange.
|
| |
|
| |
|
|
|
|
|
|
| |
Use `keySet' and `valueIterable' to get keys and values from a map as
non-iterator collections.
|
|
|
|
|
| |
made bean getters/setters non-synthetic (-> accessible from java)
|
| |
|
|
|
|
|
| |
Tightened up XHTML minimization logic - closes #2043.
|
|
|
|
|
|
| |
fixed BeanProperty, added BooleanBeanProperty, added many tests (#1029,
#1751, #294, #1942, #1782, #1788, #637).
|
| |
|