Skip to content

型引数で定義した型に型引数を与えられてしまう #1004

@takejohn

Description

@takejohn
@f<T>(x: T<num>) {}

Tstrだとすると、str<num>という不正な型を意味してしまうため、
これはエラーになってほしい。
プレイグラウンド: https://aiscript-dev.github.io/ja/playground.html#N4Igxg9gJgpiBcIACAzAPAFQHwAoAe8ABBmgHYCuAtlgJSHAC+IANCAG4wBOAzgJYSkEIAIwA6AEyiADCAZA

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