Skip to content

Commit 5eec289

Browse files
committed
fix variant with value type
1 parent b1936af commit 5eec289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ic/parser/DIDEmitter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def exitVariantKV(self, ctx:DIDParser.VariantKVContext):
197197
# Exit a parse tree produced by DIDParser#VariantName.
198198
def exitVariantName(self, ctx:DIDParser.VariantNameContext):
199199
key = ctx.Name().getText()
200-
self.cache[ctx] = (key, None)
200+
self.cache[ctx] = (key, Types.Null)
201201

202202

203203
# Exit a parse tree produced by DIDParser#functype.

0 commit comments

Comments
 (0)