Pair constructs a pair constant. Parts can only be accessed in transforms.
(tpe ConstantType, fst, snd *Constant)
| 333 | |
| 334 | // Pair constructs a pair constant. Parts can only be accessed in transforms. |
| 335 | func pair(tpe ConstantType, fst, snd *Constant) Constant { |
| 336 | return Constant{tpe, "", hashPair(fst, snd, tpe), fst, snd} |
| 337 | } |
| 338 | |
| 339 | // Pair constructs a pair constant. Parts can only be accessed in transforms. |
| 340 | func Pair(fst, snd *Constant) Constant { |
no test coverage detected