GH-161: fix segfault in &default type checking for sets

Fixes GH-161
This commit is contained in:
Jon Siwek 2019-01-14 14:01:00 -06:00
parent 02783692d8
commit cada0d5e6e
5 changed files with 12 additions and 1 deletions

View file

@ -292,6 +292,7 @@ void Attributes::CheckAttr(Attr* a)
}
a->AttrExpr()->Error("&default value has inconsistent type", type);
return;
}
TableType* tt = type->AsTableType();