Skip to content

Error with unassignable template default shows up at the wrong place #1763

Description

@timotheeguerin

Here the default is not assignable to the template constraint but instead of showing the error on the default it shows it on Array<T> inside the compiler lib making it impossible to find the issue.

Playground Link

This only seems to be happening when targeting an array

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions