denoland / denoland/deno_graph

Decrease range of some fast check diagnostics

Open
#360 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
137
Forks
47
Avg merge
2d 7h
Merged PRs (30d)
4

Description

```
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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.