Skip to content

Commit 8890e21

Browse files
saikrishnavDanny McCormick
authored andcommitted
Serialization Fix for Dictionaries With Key as EnumType (#340)
* Serialization Fix for Dictionaries With Key as EnumType * better fix * break instead of loop
1 parent b6c7a97 commit 8890e21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/Serialization.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ export module ContractSerializer {
280280
var value = enumType.enumValues[name];
281281
if (name.toLowerCase() === lowerCaseEnumName) {
282282
resultPart = value;
283-
return false;
283+
break;
284284
}
285285
}
286286
}

0 commit comments

Comments
 (0)