|
197 | 197 | 34 │ @val external legacyNumbers: (@as(007) _, @as(1_000) _, int) => int = " |
198 | 198 | │ f" |
199 | 199 | 35 │ |
| 200 | + 36 │ @val external templateSyntax: (@as("${x}") _, @as("a`b") _, @as("\\`") |
| 201 | + │ _, int) => int = "f" |
200 | 202 |
|
201 | 203 | deprecated: The fixed-value `@as(...) _` external argument syntax is deprecated. Use `%raw(...)` instead. |
202 | 204 |
|
|
210 | 212 | 34 │ @val external legacyNumbers: (@as(007) _, @as(1_000) _, int) => int = " |
211 | 213 | │ f" |
212 | 214 | 35 │ |
| 215 | + 36 │ @val external templateSyntax: (@as("${x}") _, @as("a`b") _, @as("\\`") |
| 216 | + │ _, int) => int = "f" |
| 217 | + |
| 218 | + deprecated: The fixed-value `@as(...) _` external argument syntax is deprecated. Use `%raw(...)` instead. |
| 219 | + |
| 220 | + |
| 221 | + Warning number 3 |
| 222 | + syntax_tests/data/printer/typexpr/fixedExternal.res:36:32-44 |
| 223 | + |
| 224 | + 34 │ @val external legacyNumbers: (@as(007) _, @as(1_000) _, int) => int = " |
| 225 | + │ f" |
| 226 | + 35 │ |
| 227 | + 36 │ @val external templateSyntax: (@as("${x}") _, @as("a`b") _, @as("\\`") |
| 228 | + │ _, int) => int = "f" |
| 229 | + 37 │ |
| 230 | + |
| 231 | + deprecated: The fixed-value `@as(...) _` external argument syntax is deprecated. Use `%raw(...)` instead. |
| 232 | + |
| 233 | + |
| 234 | + Warning number 3 |
| 235 | + syntax_tests/data/printer/typexpr/fixedExternal.res:36:47-58 |
| 236 | + |
| 237 | + 34 │ @val external legacyNumbers: (@as(007) _, @as(1_000) _, int) => int = " |
| 238 | + │ f" |
| 239 | + 35 │ |
| 240 | + 36 │ @val external templateSyntax: (@as("${x}") _, @as("a`b") _, @as("\\`") |
| 241 | + │ _, int) => int = "f" |
| 242 | + 37 │ |
| 243 | + |
| 244 | + deprecated: The fixed-value `@as(...) _` external argument syntax is deprecated. Use `%raw(...)` instead. |
| 245 | + |
| 246 | + |
| 247 | + Warning number 3 |
| 248 | + syntax_tests/data/printer/typexpr/fixedExternal.res:36:61-72 |
| 249 | + |
| 250 | + 34 │ @val external legacyNumbers: (@as(007) _, @as(1_000) _, int) => int = " |
| 251 | + │ f" |
| 252 | + 35 │ |
| 253 | + 36 │ @val external templateSyntax: (@as("${x}") _, @as("a`b") _, @as("\\`") |
| 254 | + │ _, int) => int = "f" |
| 255 | + 37 │ |
213 | 256 |
|
214 | 257 | deprecated: The fixed-value `@as(...) _` external argument syntax is deprecated. Use `%raw(...)` instead. |
215 | 258 |
|
@@ -253,3 +296,5 @@ external raw: (%raw("{}"), %raw(`"img"`), ~mode: %raw("[1, 2]"), int) => int = " |
253 | 296 | external rawCommented: (/* a */ %raw("1") /* b */, /* c */ %raw("2"), int) => int = "f" |
254 | 297 |
|
255 | 298 | @val external legacyNumbers: (%raw("7"), %raw("1000"), int) => int = "f" |
| 299 | + |
| 300 | +@val external templateSyntax: (%raw(`"\${x}"`), %raw(`"a\`b"`), %raw(`"\\\\\`"`), int) => int = "f" |
0 commit comments