rsmmr / hilti

**NOTE**: This is outdated and no longer maintained. There's a new version at https://github.com/zeek/spicy.
Other
40 stars 22 forks source link

spicyc segmentation fault when list item type not defined #26

Open dloss opened 7 years ago

dloss commented 7 years ago
module Mini;

export type MyUnit = unit {
    interfaces : list<UnknownType>;
};
# spicyc mini.spicy
Segmentation fault
# spicy-config --version
Spicy 0.5
# spicyc -D print-ast mini.spicy
...
===
=== AST for Mini before pass::spicy::UnitScopeBuilder
===

module Mini;

import spicy
export type MyUnit = unit {

};

Segmentation fault