Skip to content

Commit 6743001

Browse files
remove validateParameterDecorators from compiler.ts
1 parent 9f9f3bd commit 6743001

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/compiler.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -536,9 +536,6 @@ export class Compiler extends DiagnosticEmitter {
536536

537537
// initialize lookup maps, built-ins, imports, exports, etc.
538538
this.program.initialize();
539-
// Reject transform-only parameter decorators that remain on the AST after transforms.
540-
this.program.validateParameterDecorators();
541-
542539

543540
// Binaryen treats all function references as being leaked to the outside world when
544541
// the module isn't marked as closed-world (see WebAssembly/binaryen#7135). Therefore,

0 commit comments

Comments
 (0)