Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

627 B
Raw Blame
// fixture-id: with-selector-target-v2
// case: firmament-v2-with-selector-target
// category: RecordDerivation
// syntax-version: FirmamentV2
// validity: invalid
// implementation: parser-backed
// expected: invalid
// expected-stage: parsed
// expected-diagnostic: firmament-syntax-statement
// migration: shared AST rejects the invalid @ token at its original location.
// notes: AIR-FIRMAMENT-X2 parser-backed invalid derivation fixture; selectors are not records.

model WithSelectorTarget {
    units mm

    solid base: Box {
        size: [10, 8, 6]
    }

    solid bad: base with {
        @front: [1, 2, 3]
    }
}