Last active
August 29, 2015 14:07
-
-
Save emilyst/3699b1b6793e185e2d7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ scala | |
Picked up _JAVA_OPTIONS: -Djava.awt.headless=true | |
Welcome to Scala version 2.11.2 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_55). | |
Type in expressions to have them evaluated. | |
Type :help for more information. | |
scala> List(1,2,3).toSet() | |
warning: there was one deprecation warning; re-run with -deprecation for details | |
res0: Boolean = false | |
scala> | |
$ scala -deprecation | |
Picked up _JAVA_OPTIONS: -Djava.awt.headless=true | |
Welcome to Scala version 2.11.2 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_55). | |
Type in expressions to have them evaluated. | |
Type :help for more information. | |
scala> List(1,2,3).toSet() | |
<console>:8: warning: Adaptation of argument list by inserting () has been deprecated: this is unlikely to be what you want. | |
signature: GenSetLike.apply(elem: A): Boolean | |
given arguments: <none> | |
after adaptation: GenSetLike((): Unit) | |
List(1,2,3).toSet() | |
^ | |
res0: Boolean = false | |
scala> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment