@@ -309,8 +309,8 @@ func checkAssignableTo(xt, dt Type, autoNative bool) error {
309
309
if ddt , ok := dt .(* DeclaredType ); ok {
310
310
// types must match exactly.
311
311
if ! dxt .sealed && ! ddt .sealed &&
312
- dxt .PkgPath == ddt .PkgPath &&
313
- dxt .Name == ddt .Name { // not yet sealed
312
+ dxt .PkgPath == ddt .PkgPath &&
313
+ dxt .Name == ddt .Name { // not yet sealed
314
314
return nil // ok
315
315
} else if dxt .TypeID () == ddt .TypeID () {
316
316
return nil // ok
@@ -681,7 +681,7 @@ func (x *AssignStmt) AssertCompatible(store Store, last BlockNode) {
681
681
if len (x .Lhs ) != len (cft .Results ) {
682
682
panic (fmt .Sprintf (
683
683
"assignment mismatch: " +
684
- "%d variables but %s returns %d values" ,
684
+ "%d variables but %s returns %d values" ,
685
685
len (x .Lhs ), cx .Func .String (), len (cft .Results )))
686
686
}
687
687
if x .Op == ASSIGN {
@@ -763,7 +763,7 @@ func (x *AssignStmt) AssertCompatible(store Store, last BlockNode) {
763
763
// expr on lhs/rhs.
764
764
if len (x .Lhs ) != 1 || len (x .Rhs ) != 1 {
765
765
panic ("assignment operator " + x .Op .TokenString () +
766
- " requires only one expression on lhs and rhs" )
766
+ " requires only one expression on lhs and rhs" )
767
767
}
768
768
for i , lx := range x .Lhs {
769
769
lt := evalStaticTypeOf (store , last , lx )
0 commit comments