reject_expression_templates_pre_v04
Stable function · Versions and migration
Tier: stable · Kind: function · Topic: Versions and migration
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
reject_expression_templates_pre_v04 | rejectExpressionTemplatesPreV04 | reject_expression_templates_pre_v04 | not exported | RejectExpressionTemplatesPreV04 |
Julia
reject_expression_templates_pre_v04(raw_data)
reject_expression_templates_pre_v04(raw_data)
Reject expression_templates blocks and apply_expression_template ops in
files declaring esm < 0.4.0, with apply_expression_template_version_too_old
naming every offending path. The rule is the expression_templates row of
_VERSION_GATES.
TypeScript
function rejectExpressionTemplatesPreV04(view: unknown): void
Reject apply_operator and operators in files
declaring esm < 0.4.0. Operates on the pre-coercion JSON view.
Python
reject_expression_templates_pre_v04(view: Any) -> None
Reject template constructs in files declaring esm < 0.4.0.
Mirrors the equivalent TS / Julia / Rust / Go checks for cross-binding-uniform diagnostics.
Rust
Rust does not export this function.