Took me a while to reproduce it consistently but this is the behaviour I'm experiencing in `v0.18.2` ```Javascript import { Parser } from '@nomicfoundation/slang/parser'; import { SourceUnit } from '@nomicfoundation/slang/ast'; import { NonterminalKind } from '@nomicfoundation/slang/cst'; const source = ` pragma solidity ^0.8.0; `; const parser = Parser.create('0.8.28'); const parseOutput = parser.parse(NonterminalKind.SourceUnit, source); parseOutput.isValid(); // true const ast = new SourceUnit(parseOutput.tree.asNonterminalNode()!); console.log(ast.cst.kind); // SourceUnit console.log(ast.members.cst.kind); // SourceUnitMembers console.log(ast.cst.kind); // Resource error: Not a valid "NonterminalNode" resource. ```