Files
mercury/tests/hard_coded/float_field.exp
Fergus Henderson ff82e4685d Fix a bug with boxing/unboxing of float no_tag types.
Estimated hours taken: 0.5

compiler/ml_call_gen.m:
	Fix a bug with boxing/unboxing of float no_tag types.
	The MLDS code generator was generating a `cast' where it
	should have been generating a `box' or `unbox' plus a `cast'.

tests/hard_coded/Mmakefile:
tests/hard_coded/float_field.m:
tests/hard_coded/float_field.exp:
	A regression test.
2000-06-05 02:47:36 +00:00

13 lines
238 B
Plaintext

foo(1.00000000000000)
1.00000000000000
bar(2, 3.00000000000000, 4)
3.00000000000000
5.00000000000000
5.00000000000000
foo2(1.00000000000000)
1.00000000000000
bar2(2, 3.00000000000000, 4)
3.00000000000000
5.00000000000000
5.00000000000000