Skip to content

Latest commit

 

History

History
47 lines (44 loc) · 803 Bytes

File metadata and controls

47 lines (44 loc) · 803 Bytes

META

description=Calling a float literal as a function should produce an error, not crash
type=expr

SOURCE

0.0()

EXPECTED

MISSING METHOD - call_float_literal.md:1:1:1:4

PROBLEMS

MISSING METHOD This from_numeral method is being called on a value whose type doesn't have that method: call_float_literal.md:1:1:1:4:

0.0()

^^^

The value's type, which does not have a method named from_numeral, is:

({}) -> _ret

TOKENS

Float,NoSpaceOpenRound,CloseRound,
EndOfFile,

PARSE

(e-apply
	(e-frac (raw "0.0")))

FORMATTED

NO CHANGE

CANONICALIZE

(e-call (constraint-fn-var 40)
	(e-dec-small (numerator "0") (denominator-power-of-ten "0") (value "0")))

TYPES

(expr (type "_a"))