Merge remote-tracking branch 'upstream/master' into init_auto
[nit.git] / tests / example_string.nit
index b2d800e..8824617 100644 (file)
@@ -18,9 +18,6 @@
 # It displays the value of a local variable.
 # It exhibs ways to concatenate strings.
 
-#alt1 import core
-#alt1 import core::text::ropes
-
 var a = 10
 # First way: Multiple parameters.
 # Pro: Simple.
@@ -31,7 +28,6 @@ printn("The value of a is: ", a, ".\n")
 # Pro: Eiffel way (rigourous).
 # Con: Eiffel way (heavy).
 var s: Buffer = new FlatBuffer.from("The value of a is: ")
-#alt1 s = new RopeBuffer.from("The value of a is: ")
 s.append(a.to_s)
 s.append(".\n")
 printn(s)