Compiler bug: Using an undefined Int
variable with Inspect.toStr
#7191
Labels
bug
Something isn't working
Int
variable with Inspect.toStr
#7191
roc check
only warns about the_ = ...
part.Qualifying number kind
X
asNum X
does not affect the result, and neither does convertingX
toList X
.Changing
foo
to aStr
,Bool
,Frac *
,Dec *
orList Str
prevents the compiler bug, and it throws a runtime errorNoImplementationNamed
(which appears to be intended behaviour).Similarly, using
Num.toStr
or another function also throwsNoImplementationNamed
.This makes me think that it is specifically an issue with
Num
andInspect.toStr
....The text was updated successfully, but these errors were encountered: