-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
fix(check): compiler options from workspace members #27785
fix(check): compiler options from workspace members #27785
Conversation
…ber-compiler-options
…ber-compiler-options
…ber-compiler-options
…ber-compiler-options
…ber-compiler-options
…ber-compiler-options
…ber-compiler-options
…ber-compiler-options
…ber-compiler-options
…ber-compiler-options
…ber-compiler-options
…ber-compiler-options
cli/util/collections.rs
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nayeemrmn I extracted out this common pattern to a helper collection. Maybe we should use it in more places in the future.
@@ -146,7 +146,7 @@ fn check_error_in_dep_then_fix() { | |||
let check_command = test_context.new_command().args_vec(["check", "main.ts"]); | |||
|
|||
let output = check_command.run(); | |||
output.assert_matches_text("Check [WILDCARD]main.ts\nerror: TS234[WILDCARD]"); | |||
output.assert_matches_text("Check [WILDCARD]main.ts\nTS234[WILDCARD]"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Errors don't all get dispalyed at once anymore--they get displayed to the screen after each group of roots gets type checked.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
This is a different approach to #27009 that instead mostly just changes the
TypeChecker
struct.Todo:
deno compile
supportdeno lint
supportcheckJs
based on the current referrer when walking rather than using a global valueasset:///node_types.d.ts
Closes #24504