Skip to content

型引数が重複しているときに発生するエラーがAiScriptErrorではない #998

@poppingmoon

Description

@poppingmoon

以下の部分では普通の Error が使われているため、Playgroundでエラーが表示されない

throw new Error(`type parameter name ${typeParam.name} is duplicate`);

@<T, T>(): T {}
<: Core:ai

Playground

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions