Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tcStructLitKey (0.18 sec)

  1. src/cmd/compile/internal/typecheck/expr.go

    				ls[i] = sk
    			}
    		}
    
    		n.SetOp(ir.OSTRUCTLIT)
    	}
    
    	return n
    }
    
    // tcStructLitKey typechecks an OKEY node that appeared within a
    // struct literal.
    func tcStructLitKey(typ *types.Type, kv *ir.KeyExpr) *ir.StructKeyExpr {
    	key := kv.Key
    
    	sym := key.Sym()
    
    	// An OXDOT uses the Sym field to hold
    	// the field to the right of the dot,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top