Skip to content

Not all assert calls are being removed from v0.js by babel transforms #23960

@rsimha

Description

@rsimha

#23377 updated the babel transforms to remove assert calls. This should have paved the way for the removal of AmpPass.java from the custom closure compiler runner. However, removing AmpPass.java increases the number of instances of assert in v0.js from 20 to 80.

Before removing AmpPass.java: 20 instances
After removing AmpPass.java: 80 instances

See discussion at #23377 (comment)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions