summaryrefslogtreecommitdiff
path: root/test/files/run/enums.scala
Commit message (Collapse)AuthorAgeFilesLines
* Make Enumeration.ValueSet SerializableStefan Zeiger2011-12-021-0/+24
| | | | Closes SI-5117.
* Enumeration and Enumeration.ValueSet improvementsStefan Zeiger2011-12-021-0/+31
| | | | | | | | - Make Enumeration.ValueSet a SortedSet and back it by a BitSet - Add toBitMask and fromBitMask methods for value sets - Add an Ordering for the values - Deprecate names seq in the Enumeration constructor - Add + method to Value for easy ValueSet creation
* Misc uninteresting tidbits to take some weight ...Paul Phillips2011-01-021-2/+2
| | | | | | Misc uninteresting tidbits to take some weight off overly large patches in progress. No review.
* Fix and test for #2527Philipp Haller2009-11-031-0/+20
|
* [no content change] Fixed all SVN properties: m...Gilles Dubochet2009-09-241-1/+0
| | | | | | | | [no content change] Fixed all SVN properties: mimes, EOL, executable. Id expansion is consistently enabled for Scala/Java/C# sources in 'src/' and consistently disabled and removed from everywhere else: there should not be any dead Id tags anymore.
* Reverted probably unintentional change to Enume...Paul Phillips2009-05-121-3/+3
| | | | | | | | Reverted probably unintentional change to Enumeration (the method formerly called valueOf and now called withName needs to return Option[Value], not Value) and updated the failing tests to use the new Enumeration interface.
* Restructured Enumeration to have many fewer pub...Paul Phillips2009-04-231-3/+3
| | | | | | | | | | | | Restructured Enumeration to have many fewer public members so people can import TheirEnum._ with less trepidation. The HOFs formerly in Enumeration were removed, but as they all merely forwarded to elements anyway, do this: object Foo extends Enumeration { val FOO, BAR = Value } import Foo._ Foo.elements filter (_ == FOO)
* - added runtime.RichException with a getStackTr...mihaylov2006-11-021-1/+1
| | | | | | | - added runtime.RichException with a getStackTraceString method (the - .NET version will be more extensive) added a split(c: Char) method to - RichString
* Made some test cases platform-independentmihaylov2006-10-101-1/+1
|
* print stack trace on exceptionmihaylov2006-03-071-0/+1
|
* 'test-nsc' has been moved to 'test'.Gilles Dubochet2005-12-161-0/+80
|
* Removed old scala tests from new Scala core mod...Gilles Dubochet2005-12-161-80/+0
| | | | | Removed old scala tests from new Scala core module.
* Made platform independantmihaylov2005-09-271-7/+6
|
* *** empty log message ***Martin Odersky2004-09-021-1/+1
|
* *** empty log message ***michelou2004-06-091-0/+81