< Unclear Error message when
< Unclear Error message when instantiating an abstract entity >
4 Replies
I have these lines
When I try to instantiate a source entity (by mistake),
The error message does not say what constraint it is which caused the failure.
I verified that it is the @abstract constrain which failed it. But I feel it would be useful if the error message indicates that?

Good point. We could add the constraint to the error message.
$src isa source
1:13
does actually point insert $src [HERE]isa source
, but that does need manual counting
Maybe the ^
in the error message would be better off as an underline between two
Isn't type inference a bit difficult because it failing in place X could have been caused elsewhere originally at place Y @krishnan ?
i wonder why 1:13 isn't further to the rigth with the
^
?I think we get an even more vague error message in those cases