@@ -1096,7 +1096,14 @@ export const SYMBOL_TABLE_FIND_TYPE_OF_KEYWORD_TEST_CASES = [
1096
1096
inputSetup : FileUtil . readFileString (
1097
1097
'transpiler/__tests__/end-to-end/mocks/semantic-errors/setup.bl' ,
1098
1098
) ,
1099
- keywordInfo : { name : 'accountEntity' , position : { line : 16 , column : 22 } } ,
1099
+ keywordInfo : {
1100
+ name : 'accountEntity' ,
1101
+ position : {
1102
+ line : 16 ,
1103
+ column : 22 ,
1104
+ fileId : 'fileId' ,
1105
+ } ,
1106
+ } ,
1100
1107
expectedOutput : { type : '(OK(AccountEntity), Errors(UnexpectedError))' , isConst : true } ,
1101
1108
} ,
1102
1109
{
@@ -1107,7 +1114,7 @@ export const SYMBOL_TABLE_FIND_TYPE_OF_KEYWORD_TEST_CASES = [
1107
1114
inputSetup : FileUtil . readFileString (
1108
1115
'transpiler/__tests__/end-to-end/mocks/semantic-errors/setup.bl' ,
1109
1116
) ,
1110
- keywordInfo : { name : 'accountEntity' , position : { line : 16 , column : 22 } } ,
1117
+ keywordInfo : { name : 'accountEntity' , position : { line : 16 , column : 22 , fileId : 'fileId' } } ,
1111
1118
expectedOutput : { type : 'AccountEntity' , isConst : true } ,
1112
1119
} ,
1113
1120
{
@@ -1118,7 +1125,7 @@ export const SYMBOL_TABLE_FIND_TYPE_OF_KEYWORD_TEST_CASES = [
1118
1125
inputSetup : FileUtil . readFileString (
1119
1126
'transpiler/__tests__/end-to-end/mocks/semantic-errors/setup.bl' ,
1120
1127
) ,
1121
- keywordInfo : { name : 'result' , position : { line : 17 , column : 22 } } ,
1128
+ keywordInfo : { name : 'result' , position : { line : 17 , column : 22 , fileId : 'fileId' } } ,
1122
1129
expectedOutput : { type : 'string' , isConst : true } ,
1123
1130
} ,
1124
1131
{
@@ -1129,7 +1136,7 @@ export const SYMBOL_TABLE_FIND_TYPE_OF_KEYWORD_TEST_CASES = [
1129
1136
inputSetup : FileUtil . readFileString (
1130
1137
'transpiler/__tests__/end-to-end/mocks/semantic-errors/setup.bl' ,
1131
1138
) ,
1132
- keywordInfo : { name : 'message' , position : { line : 23 , column : 23 } } ,
1139
+ keywordInfo : { name : 'message' , position : { line : 23 , column : 23 , fileId : 'fileId' } } ,
1133
1140
expectedOutput : { type : 'string' , isConst : true } ,
1134
1141
} ,
1135
1142
{
@@ -1140,7 +1147,7 @@ export const SYMBOL_TABLE_FIND_TYPE_OF_KEYWORD_TEST_CASES = [
1140
1147
inputSetup : FileUtil . readFileString (
1141
1148
'transpiler/__tests__/end-to-end/mocks/semantic-errors/setup.bl' ,
1142
1149
) ,
1143
- keywordInfo : { name : 'account' , position : { line : 17 , column : 24 } } ,
1150
+ keywordInfo : { name : 'account' , position : { line : 17 , column : 24 , fileId : 'fileId' } } ,
1144
1151
expectedOutput : { type : '(OK(AccountReadModel), Errors(UnexpectedError))' , isConst : true } ,
1145
1152
} ,
1146
1153
{
@@ -1151,7 +1158,7 @@ export const SYMBOL_TABLE_FIND_TYPE_OF_KEYWORD_TEST_CASES = [
1151
1158
inputSetup : FileUtil . readFileString (
1152
1159
'transpiler/__tests__/end-to-end/mocks/semantic-errors/setup.bl' ,
1153
1160
) ,
1154
- keywordInfo : { name : 'animal' , position : { line : 22 , column : 19 } } ,
1161
+ keywordInfo : { name : 'animal' , position : { line : 22 , column : 19 , fileId : 'fileId' } } ,
1155
1162
expectedOutput : { type : 'string' , isConst : true } ,
1156
1163
} ,
1157
1164
{
@@ -1162,7 +1169,7 @@ export const SYMBOL_TABLE_FIND_TYPE_OF_KEYWORD_TEST_CASES = [
1162
1169
inputSetup : FileUtil . readFileString (
1163
1170
'transpiler/__tests__/end-to-end/mocks/semantic-errors/setup.bl' ,
1164
1171
) ,
1165
- keywordInfo : { name : 'bird' , position : { line : 43 , column : 20 } } ,
1172
+ keywordInfo : { name : 'bird' , position : { line : 43 , column : 20 , fileId : 'fileId' } } ,
1166
1173
expectedOutput : { type : 'string' , isConst : true } ,
1167
1174
} ,
1168
1175
{
@@ -1173,7 +1180,7 @@ export const SYMBOL_TABLE_FIND_TYPE_OF_KEYWORD_TEST_CASES = [
1173
1180
inputSetup : FileUtil . readFileString (
1174
1181
'transpiler/__tests__/end-to-end/mocks/semantic-errors/setup.bl' ,
1175
1182
) ,
1176
- keywordInfo : { name : 'cat' , position : { line : 49 , column : 26 } } ,
1183
+ keywordInfo : { name : 'cat' , position : { line : 49 , column : 26 , fileId : 'fileId' } } ,
1177
1184
expectedOutput : { type : 'string' , isConst : true } ,
1178
1185
} ,
1179
1186
{
@@ -1184,7 +1191,7 @@ export const SYMBOL_TABLE_FIND_TYPE_OF_KEYWORD_TEST_CASES = [
1184
1191
inputSetup : FileUtil . readFileString (
1185
1192
'transpiler/__tests__/end-to-end/mocks/semantic-errors/setup.bl' ,
1186
1193
) ,
1187
- keywordInfo : { name : 'isNew' , position : { line : 20 , column : 16 } } ,
1194
+ keywordInfo : { name : 'isNew' , position : { line : 20 , column : 16 , fileId : 'fileId' } } ,
1188
1195
expectedOutput : { type : 'bool' , isConst : true } ,
1189
1196
} ,
1190
1197
{
@@ -1195,7 +1202,7 @@ export const SYMBOL_TABLE_FIND_TYPE_OF_KEYWORD_TEST_CASES = [
1195
1202
inputSetup : FileUtil . readFileString (
1196
1203
'transpiler/__tests__/end-to-end/mocks/semantic-errors/setup.bl' ,
1197
1204
) ,
1198
- keywordInfo : { name : 'command' , position : { line : 9 , column : 36 } } ,
1205
+ keywordInfo : { name : 'command' , position : { line : 9 , column : 36 , fileId : 'fileId' } } ,
1199
1206
expectedOutput : { type : 'SendEmailCommand' , isConst : true } ,
1200
1207
} ,
1201
1208
] ;
0 commit comments