#alt4#1.foo(c2).output
#alt5#d1.foo(c2).output
c1.foo(c2).output
+'\n'.output
test2.output_class_name
test3.output_class_name
test4.output_class_name
+'\n'.output
if i == 2 then a = 2
#1alt3#if i == 3 then a = '3'
if a == null then 0.output else a.output
+ '\n'.output
end
test(1)
end
end
-printn(tak(37,12,6))
+print(tak(37,12,6))
fun foo
do
self.o.output
+ '\n'.output
self.a.output
self.b.output
#alt2#self.c.output
var b = new B
b.foo
+'\n'.output
1
1
1
-a
\ No newline at end of file
+a
Test
Test
MyArray[Int]
-0
\ No newline at end of file
+0
1
+
2
-3
\ No newline at end of file
+
+3
1
+
2
-3
\ No newline at end of file
+
+3
-12
\ No newline at end of file
+12
Test
Test
MyArray
-0
\ No newline at end of file
+0
1
1
a1
-a
\ No newline at end of file
+a
1
1
1
-aa
\ No newline at end of file
+aa
1
1
1
-a
\ No newline at end of file
+a
1
1
1
-aa
\ No newline at end of file
+aa
1
1
1
-a
\ No newline at end of file
+a
1
1
a1
-a
\ No newline at end of file
+a
1
1
1
-aa
\ No newline at end of file
+aa
1
1
1
-a
\ No newline at end of file
+a
-Runtime error: Uninitialized attribute @a (alt/rterror_attr_def_alt7.nit:48)
-c
\ No newline at end of file
+Runtime error: Uninitialized attribute @a (alt/rterror_attr_def_alt7.nit:49)
+c
Runtime error: Uninitialized attribute @a (alt/rterror_attr_def_alt7.nit:24)
-c
\ No newline at end of file
+c
-Runtime error: Receiver is null (alt/rterror_attr_def_alt8.nit:49)
-c1
+Runtime error: Receiver is null (alt/rterror_attr_def_alt8.nit:50)
+c
+1
-bonjourndjui
\ No newline at end of file
+bonjour
+ndjui
-112155
\ No newline at end of file
+11
+21
+55
var limit = 2.0
if args.length != 1 then
- printn("Usage: shootout_mandelbrot <size>\n")
+ print("Usage: shootout_mandelbrot <size>")
return
end
var byte_acc = 0
var bit_num = 0
-printn("P4\n{w} {h}\n")
+print("P4\n{w} {h}")
for y in [0..h[ do
for x in [0..w[ do
end
end
end
+print ""
# See the License for the specific language governing permissions and
# limitations under the License.
-printn(gets)
-printn(gets)
+print(gets)
+print(gets)
m[1,1] = 11
m[2,1] = 21
m[5,5] = 55
-printn(m[1,1])
-printn(m[2,1])
-printn(m[5,5])
+print(m[1,1])
+print(m[2,1])
+print(m[5,5])