This commit is contained in:
Ingy döt Net 2013-04-10 21:29:02 -07:00
parent 764da6cbbb
commit db842d013d
19005 changed files with 197040 additions and 7 deletions

View file

@ -0,0 +1 @@
val c = 'c'

View file

@ -0,0 +1 @@
val sym = 'symbol

View file

@ -0,0 +1,7 @@
scala> "newline and slash: \n and \\"
res5: java.lang.String =
newline and slash:
and \
scala> """newline and slash: \n and \\"""
res6: java.lang.String = newline and slash: \n and \\

View file

@ -0,0 +1,5 @@
scala> val uniquote = \u0022normal string"
uniquote: java.lang.String = normal string
scala> val insidequote = """an inside \u0022 quote"""
insidequote: java.lang.String = an inside " quote

View file

@ -0,0 +1,4 @@
scala> val error = """can't finish with a quote: """"
<console>:1: error: unterminated string
val error = """can't finish with a quote: """"
^

View file

@ -0,0 +1,2 @@
scala> val success = """but it can on 2.8: """"
success: java.lang.String = but it can on 2.8: "