Skip to content

BridgeJS: Include source-context in diagnostic messages#616

Merged
kateinoigakukun merged 1 commit intomainfrom
katei/0736-bridgejs-diagnos
Feb 10, 2026
Merged

BridgeJS: Include source-context in diagnostic messages#616
kateinoigakukun merged 1 commit intomainfrom
katei/0736-bridgejs-diagnos

Conversation

@kateinoigakukun
Copy link
Member

$ echo "@JS func foo(_ bar: A<X>) {}" | ./Plugins/BridgeJS/.build/debug/BridgeJSToolInternal emit-skeleton -
Error: <stdin>:1:21: error: Unsupported type 'A<X>'.
  1 | @JS func foo(_ bar: A<X>) {}
    |                     `- error: Unsupported type 'A<X>'.
  2 |
Hint: Only primitive types and types defined in the same module are allowed

```console
$ echo "@js func foo(_ bar: A<X>) {}" | ./Plugins/BridgeJS/.build/debug/BridgeJSToolInternal emit-skeleton -
Error: <stdin>:1:21: error: Unsupported type 'A<X>'.
  1 | @js func foo(_ bar: A<X>) {}
    |                     `- error: Unsupported type 'A<X>'.
  2 |
Hint: Only primitive types and types defined in the same module are allowed
```
@kateinoigakukun kateinoigakukun force-pushed the katei/0736-bridgejs-diagnos branch from 67984d9 to bb57974 Compare February 10, 2026 06:54
@kateinoigakukun kateinoigakukun merged commit 929af06 into main Feb 10, 2026
11 checks passed
@kateinoigakukun kateinoigakukun deleted the katei/0736-bridgejs-diagnos branch February 10, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants