@@ -1225,64 +1225,64 @@ func initBuiltinTIs(pkg PkgImporter) {
1225
1225
{
1226
1226
typ : types .Typ [types .Float64 ],
1227
1227
methods : []* builtinMethod {
1228
- {"string " , strconv .Ref ("FormatFloat" ), bmExargs {'g' , - 1 , 64 }},
1228
+ {"String " , strconv .Ref ("FormatFloat" ), bmExargs {'g' , - 1 , 64 }},
1229
1229
},
1230
1230
},
1231
1231
{
1232
1232
typ : types .Typ [types .Int ],
1233
1233
methods : []* builtinMethod {
1234
- {"string " , strconv .Ref ("Itoa" ), nil },
1234
+ {"String " , strconv .Ref ("Itoa" ), nil },
1235
1235
},
1236
1236
},
1237
1237
{
1238
1238
typ : types .Typ [types .Int64 ],
1239
1239
methods : []* builtinMethod {
1240
- {"string " , strconv .Ref ("FormatInt" ), bmExargs {10 }},
1240
+ {"String " , strconv .Ref ("FormatInt" ), bmExargs {10 }},
1241
1241
},
1242
1242
},
1243
1243
{
1244
1244
typ : types .Typ [types .Uint64 ],
1245
1245
methods : []* builtinMethod {
1246
- {"string " , strconv .Ref ("FormatUint" ), bmExargs {10 }},
1246
+ {"String " , strconv .Ref ("FormatUint" ), bmExargs {10 }},
1247
1247
},
1248
1248
},
1249
1249
{
1250
1250
typ : types .Typ [types .String ],
1251
1251
methods : []* builtinMethod {
1252
- {"len " , btoLen , nil },
1253
- {"int " , strconv .Ref ("Atoi" ), nil },
1254
- {"uint " , strconv .Ref ("ParseUint" ), bmExargs {10 , 64 }},
1255
- {"float " , strconv .Ref ("ParseFloat" ), bmExargs {64 }},
1256
- {"quote " , strconv .Ref ("Quote" ), nil },
1257
- {"unquote " , strconv .Ref ("Unquote" ), nil },
1258
- {"fields " , strings .Ref ("Fields" ), nil },
1259
- {"split " , strings .Ref ("Split" ), nil },
1260
- {"contains " , strings .Ref ("Contains" ), nil },
1252
+ {"Len " , btoLen , nil },
1253
+ {"Int " , strconv .Ref ("Atoi" ), nil },
1254
+ {"Uint " , strconv .Ref ("ParseUint" ), bmExargs {10 , 64 }},
1255
+ {"Float " , strconv .Ref ("ParseFloat" ), bmExargs {64 }},
1256
+ {"Quote " , strconv .Ref ("Quote" ), nil },
1257
+ {"Unquote " , strconv .Ref ("Unquote" ), nil },
1258
+ {"Fields " , strings .Ref ("Fields" ), nil },
1259
+ {"Split " , strings .Ref ("Split" ), nil },
1260
+ {"Contains " , strings .Ref ("Contains" ), nil },
1261
1261
},
1262
1262
},
1263
1263
{
1264
1264
typ : types .NewSlice (types .Typ [types .String ]),
1265
1265
methods : []* builtinMethod {
1266
- {"len " , btoLen , nil },
1267
- {"join " , strings .Ref ("Join" ), nil },
1266
+ {"Len " , btoLen , nil },
1267
+ {"Join " , strings .Ref ("Join" ), nil },
1268
1268
},
1269
1269
},
1270
1270
{
1271
1271
typ : tySlice ,
1272
1272
methods : []* builtinMethod {
1273
- {"len " , btoLen , nil },
1273
+ {"Len " , btoLen , nil },
1274
1274
},
1275
1275
},
1276
1276
{
1277
1277
typ : tyMap ,
1278
1278
methods : []* builtinMethod {
1279
- {"len " , btoLen , nil },
1279
+ {"Len " , btoLen , nil },
1280
1280
},
1281
1281
},
1282
1282
{
1283
1283
typ : tyChan ,
1284
1284
methods : []* builtinMethod {
1285
- {"len " , btoLen , nil },
1285
+ {"Len " , btoLen , nil },
1286
1286
},
1287
1287
},
1288
1288
}
0 commit comments