Commit e3b4354
Enable a few more Guava Primitives tests for J2KT
- some Base regex helpers have become available for J2KT since last iteration. Thanks cpovirk@ for pointing this out
- there was a transpiler improvement:
`GREATEST - (short) 1` is a compile time constant in Java and can be used to
initialize a `short` because the compiler can verify that the value is small
enough. The straight-forward translation `GREATEST - 1.toShort()` is not a
compile time constant in Kotlin and cannot be used to initialize a `Short`. The
transpiler handles this now
RELNOTES=n/a
PiperOrigin-RevId: 6114674761 parent ae78f4a commit e3b4354
1 file changed
Lines changed: 0 additions & 3 deletions
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | 168 | | |
170 | 169 | | |
171 | 170 | | |
| |||
177 | 176 | | |
178 | 177 | | |
179 | 178 | | |
180 | | - | |
181 | 179 | | |
182 | 180 | | |
183 | 181 | | |
| |||
199 | 197 | | |
200 | 198 | | |
201 | 199 | | |
202 | | - | |
203 | 200 | | |
204 | 201 | | |
205 | 202 | | |
| |||
0 commit comments