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

Decrease range of some fast check diagnostics #360

Open
dsherret opened this issue Jan 19, 2024 · 0 comments
Open

Decrease range of some fast check diagnostics #360

dsherret opened this issue Jan 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dsherret
Copy link
Member

error[zap-not-found-reference]: Could not resolve 'Foo.prototype.bax' referenced from 'Foo.prototype.baz'. This may indicate a bug in Deno. Please open an issue to help us improve if so.
 -->  /Projects/github.com/denoland/deno/foo/main.ts:1:1
  | 
1 | export class Foo {
  | ^^^^^^^^^^^^^^^^^^
2 |   bar: string = "bar";
  | ^^^^^^^^^^^^^^^^^^^^^^
3 |   baz: typeof Foo.prototype.bax = "baz";
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 | }
  | ^ this is the reference
  = hint: 

  docs: https://jsr.io/zap/zap-not-found-reference
error[zap-unsupported-using]: Using declarations are not supported in the public API.
 --> /Projects/github.com/denoland/deno/foo/main.ts:5:7
  | 
5 | using baz = "foo";
  |       ^^^^^^^^^^^
  = hint: use 'const' instead of 'using'

  info: using declarations have unclear semantics in the public API
  info: they are thus not supported in the public API
  docs: https://jsr.io/go/zap-unsupported-using
@dsherret dsherret added the bug Something isn't working label Jan 19, 2024
@dsherret dsherret changed the title Decrease range of some zap diagnostics Decrease range of some fast check diagnostics Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant