mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
ae9be8f8bd
Quoted constructor methods bypassed the AST-based constructor validation. Validate type parameters after resolving the method key, preserving the AST shape. Validation: `just ready`, parser conformance, and allocation checks. Closes #25692. AI-assisted with Codex.
8 lines
77 B
TypeScript
8 lines
77 B
TypeScript
class A {
|
|
'constructor'<T>() {}
|
|
}
|
|
|
|
class B {
|
|
get 'constructor'<T>() {}
|
|
}
|