@@ -1406,9 +1406,9 @@ func (t FunctionStaticType) Encode(_ *cbor.StreamEncoder) error {
1406
1406
1407
1407
// compositeTypeInfo
1408
1408
type compositeTypeInfo struct {
1409
- location common.Location
1410
- qualifiedIdentifier string
1411
- kind common.CompositeKind
1409
+ Location common.Location
1410
+ QualifiedIdentifier string
1411
+ Kind common.CompositeKind
1412
1412
}
1413
1413
1414
1414
func NewCompositeTypeInfo (
@@ -1420,9 +1420,9 @@ func NewCompositeTypeInfo(
1420
1420
common .UseMemory (memoryGauge , common .CompositeTypeInfoMemoryUsage )
1421
1421
1422
1422
return compositeTypeInfo {
1423
- location : location ,
1424
- qualifiedIdentifier : qualifiedIdentifier ,
1425
- kind : kind ,
1423
+ Location : location ,
1424
+ QualifiedIdentifier : qualifiedIdentifier ,
1425
+ Kind : kind ,
1426
1426
}
1427
1427
}
1428
1428
@@ -1450,17 +1450,17 @@ func (c compositeTypeInfo) Encode(e *cbor.StreamEncoder) error {
1450
1450
return err
1451
1451
}
1452
1452
1453
- err = EncodeLocation (e , c .location )
1453
+ err = EncodeLocation (e , c .Location )
1454
1454
if err != nil {
1455
1455
return err
1456
1456
}
1457
1457
1458
- err = e .EncodeString (c .qualifiedIdentifier )
1458
+ err = e .EncodeString (c .QualifiedIdentifier )
1459
1459
if err != nil {
1460
1460
return err
1461
1461
}
1462
1462
1463
- err = e .EncodeUint64 (uint64 (c .kind ))
1463
+ err = e .EncodeUint64 (uint64 (c .Kind ))
1464
1464
if err != nil {
1465
1465
return err
1466
1466
}
@@ -1471,9 +1471,9 @@ func (c compositeTypeInfo) Encode(e *cbor.StreamEncoder) error {
1471
1471
func (c compositeTypeInfo ) Equal (o atree.TypeInfo ) bool {
1472
1472
other , ok := o .(compositeTypeInfo )
1473
1473
return ok &&
1474
- c .location == other .location &&
1475
- c .qualifiedIdentifier == other .qualifiedIdentifier &&
1476
- c .kind == other .kind
1474
+ c .Location == other .Location &&
1475
+ c .QualifiedIdentifier == other .QualifiedIdentifier &&
1476
+ c .Kind == other .Kind
1477
1477
}
1478
1478
1479
1479
// EmptyTypeInfo
0 commit comments