PRE_EMIT_INTRINSICS
On this page

PRE_EMIT_INTRINSICS

Constant in Backends

The builtin ids that fp64Lower rewrites away before any backend runs: 'f64', 'f64FromParts' and 'f64Parts'.

import { PRE_EMIT_INTRINSICS } from 'typeshade'

The signature, the description and the examples come from the compiler's own source at commit 26de7be8.

Syntax

const PRE_EMIT_INTRINSICS: ReadonlySet<string>

Description

Ids in PORTABLE_INTRINSICS do reach spellIntrinsic; these must not. isKnownIntrinsic excludes them, so if one survives to a backend, that backend throws SD0040 when it is asked to spell the f64 type the call carries, and the failure is reported before the driver sees invalid source.

See also

Source

src/core/intrinsics.ts, line 1141, at commit 26de7be8

Edit this page Report a problem