Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
-('a'+1).output
-('a'-1).output
+('a'.successor(1)).output
+('a'.predecessor(1)).output
('a'<'b').output
('a'>'b').output
('a'<='b').output
('a'<'b').output
('a'>'b').output
('a'<='b').output
g.foo = g.foo + 20
g.foo += 30
g.foo = g.foo + 20
g.foo += 30
-#alt1#var gcp = gcf + 10
+#alt1#var gcp = gcf + 10.0
-#alt2#gc.foo = gc.foo + 20
+#alt2#gc.foo = gc.foo + 20.0
-var gd: G[Discrete] = new G[Int]
+var gd: G[Numeric] = new G[Int]
var gdf = gd.foo
var gdp = gdf + 10
gd.foo = gdp
gd.foo = gd.foo + 20
gd.foo += 30
var gdf = gd.foo
var gdp = gdf + 10
gd.foo = gdp
gd.foo = gd.foo + 20
gd.foo += 30
-var gdc: G[Discrete] = new G[Char]
+var gdc: G[Numeric] = new G[Float]
-#alt4#var gdcp = gdcf + 10
+#alt4#var gdcp = gdcf + 10.0
-#alt5#gdc.foo = gdc.foo + 20
-#alt6#gdc.foo += 30
+#alt5#gdc.foo = gdc.foo + 20.0
+#alt6#gdc.foo += 30.0
(3<=>2).output
'\n'.output
(3<=>2).output
'\n'.output
-1.succ.output
-3.prec.output
+1.successor(1).output
+3.predecessor(1).output
(three<=>two).output
'\n'.output
(three<=>two).output
'\n'.output
-one.succ.output
-three.prec.output
+one.successor(1).output
+three.predecessor(1).output
-alt/base_gen_reassign_alt3.nit:46,11--12: Type error: expected Char, got Int
+alt/base_gen_reassign_alt3.nit:46,11--12: Type error: expected Float, got Int