diff options
Diffstat (limited to 'src/interp')
-rw-r--r-- | src/interp/database.boot | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interp/database.boot b/src/interp/database.boot index e667ab74..1096c3eb 100644 --- a/src/interp/database.boot +++ b/src/interp/database.boot @@ -90,7 +90,10 @@ getConstructorAbbreviationFromDB ctor == getConstructorCategory: %Symbol -> %Form getConstructorCategory ctor == getConstructorKindFromDB ctor = 'category => - GETDATABASE(ctor,"CONSTRUCTORCATEGORY") + db := constructorDB ctor + if not dbBeingDefined? db and dbCategory db isnt [.,:.] then + loadDBIfNecessary db + dbCategory db getConstructorModemap(ctor).mmTarget getConstructorKindFromDB: %Symbol -> %Maybe %ConstructorKind |