HomeSort by relevance Sort by last modified time
    Searched refs:untyped (Results 1 - 25 of 133) sorted by null

1 2 3 4 5 6

  /prebuilts/go/darwin-x86/test/fixedbugs/
issue6671.go 7 // Issue 6671: Logical operators should produce untyped bool for untyped operands.
20 b = true && true // permitted => && returns an untyped bool
21 b = x < y // permitted => x < y returns an untyped bool
22 b = true && x < y // permitted => result of && returns untyped bool
23 b = x < y && x < y // permitted => result of && returns untyped bool
24 b = x < y || x < y // permitted => result of || returns untyped bool
26 c = false || x < y // permitted => result of || returns untyped bool
issue6004.go 10 _ = nil // ERROR "use of untyped nil"
11 _, _ = nil, 1 // ERROR "use of untyped nil"
12 _, _ = 1, nil // ERROR "use of untyped nil"
13 _ = append(nil, 1, 2, 3) // ERROR "untyped nil"
issue20185.go 7 // Issue 20185: type switching on untyped values (e.g. nil or consts)
22 switch t := x.(type) { // ERROR "cannot type switch on non-interface value x \(type untyped number\)"
issue7310.go 12 _ = copy(nil, []int{}) // ERROR "use of untyped nil"
13 _ = copy([]int{}, nil) // ERROR "use of untyped nil"
gcc61246.go 7 // PR61246: Switch conditions could be untyped, causing an ICE when the
issue6402.go 7 // Issue 6402: spurious 'use of untyped nil' error
issue8475.go 7 // Issue 8745: comma-ok assignments should produce untyped bool as 2nd result.
issue11945.go 16 // if the arguments are untyped, the results must be untyped
bug434.go 7 // Test that typed and untyped negative zero floating point constants
issue4545.go 7 // Issue 4545: untyped constants are incorrectly coerced
bug255.go 13 var e [nil]int // ERROR "use of untyped nil|invalid array bound|not numeric"
  /prebuilts/go/linux-x86/test/fixedbugs/
issue6671.go 7 // Issue 6671: Logical operators should produce untyped bool for untyped operands.
20 b = true && true // permitted => && returns an untyped bool
21 b = x < y // permitted => x < y returns an untyped bool
22 b = true && x < y // permitted => result of && returns untyped bool
23 b = x < y && x < y // permitted => result of && returns untyped bool
24 b = x < y || x < y // permitted => result of || returns untyped bool
26 c = false || x < y // permitted => result of || returns untyped bool
issue6004.go 10 _ = nil // ERROR "use of untyped nil"
11 _, _ = nil, 1 // ERROR "use of untyped nil"
12 _, _ = 1, nil // ERROR "use of untyped nil"
13 _ = append(nil, 1, 2, 3) // ERROR "untyped nil"
issue20185.go 7 // Issue 20185: type switching on untyped values (e.g. nil or consts)
22 switch t := x.(type) { // ERROR "cannot type switch on non-interface value x \(type untyped number\)"
issue7310.go 12 _ = copy(nil, []int{}) // ERROR "use of untyped nil"
13 _ = copy([]int{}, nil) // ERROR "use of untyped nil"
gcc61246.go 7 // PR61246: Switch conditions could be untyped, causing an ICE when the
issue6402.go 7 // Issue 6402: spurious 'use of untyped nil' error
issue8475.go 7 // Issue 8745: comma-ok assignments should produce untyped bool as 2nd result.
issue11945.go 16 // if the arguments are untyped, the results must be untyped
bug434.go 7 // Test that typed and untyped negative zero floating point constants
issue4545.go 7 // Issue 4545: untyped constants are incorrectly coerced
  /prebuilts/go/darwin-x86/src/go/types/
operand.go 69 // (not all "untyped" cases can appear due to the type system,
79 // constant <expr> (<untyped kind> <mode> )
81 // constant <expr> (<untyped kind> <mode> <val> )
84 // variable <expr> (<untyped kind> <mode> )
87 // mapindex <expr> (<untyped kind> <mode> )
90 // value <expr> (<untyped kind> <mode> )
93 // commaok <expr> (<untyped kind> <mode> )
119 // <untyped kind>
169 // setConst sets x to the untyped constant for literal lit.
219 // x is an untyped value representable by a value of type
    [all...]
eval_test.go 112 /* true => true, untyped bool */
114 /* c => 3, untyped float */
121 /* c/2 => 3/2, untyped float */
122 /* m.Pi < m.E => false, untyped bool */
127 /* c => 3, untyped float */
133 var c /* c => 3, untyped float */ = "foo" /* c => , string */
  /prebuilts/go/linux-x86/src/go/types/
operand.go 69 // (not all "untyped" cases can appear due to the type system,
79 // constant <expr> (<untyped kind> <mode> )
81 // constant <expr> (<untyped kind> <mode> <val> )
84 // variable <expr> (<untyped kind> <mode> )
87 // mapindex <expr> (<untyped kind> <mode> )
90 // value <expr> (<untyped kind> <mode> )
93 // commaok <expr> (<untyped kind> <mode> )
119 // <untyped kind>
169 // setConst sets x to the untyped constant for literal lit.
219 // x is an untyped value representable by a value of type
    [all...]
eval_test.go 112 /* true => true, untyped bool */
114 /* c => 3, untyped float */
121 /* c/2 => 3/2, untyped float */
122 /* m.Pi < m.E => false, untyped bool */
127 /* c => 3, untyped float */
133 var c /* c => 3, untyped float */ = "foo" /* c => , string */

Completed in 819 milliseconds

1 2 3 4 5 6