Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Improve dynamic typecheck fail messages #44

Open
vaivaswatha opened this issue Jul 11, 2021 · 0 comments
Open

Improve dynamic typecheck fail messages #44

vaivaswatha opened this issue Jul 11, 2021 · 0 comments
Labels
UX user-experience

Comments

@vaivaswatha
Copy link
Contributor

The interpreter classifies dynamic type check fails into four categories evalTCResult in EvalUtil.ml. Do something similar in the runtime library, rather than the current "dynamic typecheck failed" general message.

This will require carrying over a failure message / code, ideally done though std::expected, but that isn't officially there in C++ yet, so maybe an unofficial one ?

@vaivaswatha vaivaswatha added the UX user-experience label Jul 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
UX user-experience
Projects
None yet
Development

No branches or pull requests

1 participant