Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch errors caused by expected-but-missing functions in user's code #1107

Closed
RedBrogdon opened this issue Jun 7, 2019 · 1 comment
Closed
Labels
area-error-messaging closed-obsolete Closed as the reported issue is no longer relevant from-study Issues are filed from a research study P3 A lower priority bug or feature request type-ux A user experience or user interface related issue
Milestone

Comments

@RedBrogdon
Copy link
Contributor

In a typical exercise gist, the test code anticipates the existence of certain methods or classes in the user's code. If those are removed, the exercise can't run.

We need to communicate that state to the user in a way that's easily understandable. Right now, however, users see a compiler error referencing the call site, which would (from their perspective) be hidden in the test code tab.

It may not be possible to do this with cleverly test code snippets, though we ought to be able to do it with an additional call to the analyzer on the server asking about a particular function or class.

@RedBrogdon RedBrogdon added P2 A bug or feature request we're likely to work on type-ux A user experience or user interface related issue labels Jun 7, 2019
@RedBrogdon RedBrogdon added from-study Issues are filed from a research study P1 A high priority bug; for example, a single project is unusable or has many test failures and removed P2 A bug or feature request we're likely to work on labels Jun 26, 2019
@RedBrogdon RedBrogdon added this to the Backlog milestone Jul 24, 2019
@johnpryan johnpryan added P3 A lower priority bug or feature request and removed P1 A high priority bug; for example, a single project is unusable or has many test failures labels Oct 5, 2022
@parlough
Copy link
Member

As part of the new, simplified version of the DartPad frontend, the exercise functionality this was related to was removed.

If anyone would like to see similar functionality brought back, please check out #2702 or open a new issue. Thanks so much!

@parlough parlough closed this as not planned Won't fix, can't repro, duplicate, stale Jun 16, 2024
@parlough parlough added the closed-obsolete Closed as the reported issue is no longer relevant label Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-error-messaging closed-obsolete Closed as the reported issue is no longer relevant from-study Issues are filed from a research study P3 A lower priority bug or feature request type-ux A user experience or user interface related issue
Projects
None yet
Development

No branches or pull requests

3 participants