Commit 58cbd0c
committed
all: use reflect.TypeAssert in three more places
Others still use reflect.Value.Interface,
but these are the ones that map to reflect.TypeAssert directly.
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: I7ac2bc7b9e1b689e21e4b68331f26fac74bf2784
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1231001
TryBot-Result: CUEcueckoo <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
Reviewed-by: Roger Peppe <[email protected]>1 parent ec3e289 commit 58cbd0c
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
| 388 | + | |
| 389 | + | |
389 | 390 | | |
390 | 391 | | |
391 | 392 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
263 | | - | |
| 262 | + | |
264 | 263 | | |
265 | 264 | | |
266 | 265 | | |
| |||
0 commit comments