google / google/xls

DSLX: Confusing error message when spawning unknown proc

Open
#674 0 comments 0 reactions 0 assignees View on GitHub
dslx
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

```
proc foo {
config {
spawn does_not_exist(...)(...);
()
}
next(tok: Token) { ... }
}
```

Trying to interpret this results in the error message "ParseError: Cannot find a definition for name: 'does_not_exist'", instead of "unknown proc, etc". Plz make user-friendlier.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.