Project

EarthSciAST

The EarthSciML Abstract Syntax Tree format: schema, operators, coupling, and five language bindings.

Contents

This is the documentation for the older version v0.16.0. For the latest release, see v0.17.0.

cyclic_promotion_error

Stable error · Flatten

Tier: stable · Kind: error · Topic: Flatten

JuliaTypeScriptPythonRustGo
CyclicPromotionErrornot exportedCyclicPromotionErrornot exportednot exported

Julia

struct CyclicPromotionError <: FlattenError
CyclicPromotionError(code::String, variables::Vector{String})
CyclicPromotionError(code, variables)
CyclicPromotionError(variables)
CyclicPromotionError

Defined for cross-language error-name parity. Not raised by Core-tier Julia because no promotion graph is built — reserved for a future tier upgrade that does promotion-graph analysis. Would signal that the declared Interface rules form a cycle (A promotes to B, B promotes back to A on a different axis).

Source

TypeScript

TypeScript does not export this error.

Python

class CyclicPromotionError(FlattenError)

Promotion rules form a cycle (A→B→…→A).

Source

Rust

Rust does not export this error.

Go

Go does not export this error.