2
0
mirror of https://github.com/esiur/esiur-js.git synced 2025-06-27 07:13:12 +00:00

missing RepresentationTypeIdentifier.Dynamic

This commit is contained in:
2022-09-16 16:51:46 +03:00
parent 6a6b1a26f1
commit 2c057bc352
3 changed files with 7 additions and 5 deletions

View File

@ -59,6 +59,7 @@ export const RepresentationTypeIdentifier = {
let IdentifierToTypeMap = {};
IdentifierToTypeMap[RepresentationTypeIdentifier.Void] = Void;
IdentifierToTypeMap[RepresentationTypeIdentifier.Dynamic] = Object;
IdentifierToTypeMap[RepresentationTypeIdentifier.Bool] = Boolean;
IdentifierToTypeMap[RepresentationTypeIdentifier.Char] = Char8;
IdentifierToTypeMap[RepresentationTypeIdentifier.Char16] = Char16;
@ -86,6 +87,7 @@ IdentifierToTypeMap[RepresentationTypeIdentifier.RecordArray] = RecordArray;
const TypeToIdentifierMap = {};
TypeToIdentifierMap[Void] = RepresentationTypeIdentifier.Void;
TypeToIdentifierMap[Object] = RepresentationTypeIdentifier.Dynamic;
TypeToIdentifierMap[Boolean] = RepresentationTypeIdentifier.Bool;
TypeToIdentifierMap[Char8] = RepresentationTypeIdentifier.Char;
TypeToIdentifierMap[Char16] = RepresentationTypeIdentifier.Char16;
@ -110,7 +112,6 @@ TypeToIdentifierMap[Array] = RepresentationTypeIdentifier.List;
TypeToIdentifierMap[Map] = RepresentationTypeIdentifier.Map;
TypeToIdentifierMap[RecordArray] = RepresentationTypeIdentifier.RecordArray;
TypeToIdentifierMap[ResourceArray] = RepresentationTypeIdentifier.ResourceArray;
TypeToIdentifierMap[Object] = RepresentationTypeIdentifier.Dynamic;
const TupleIdentifierByLength = {
2: RepresentationTypeIdentifier.Tuple2,