We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f40e90a commit f35a3b0Copy full SHA for f35a3b0
test/lit/passes/precompute-strings.wast
@@ -216,7 +216,9 @@
216
(func $slice (export "slice") (result (ref string))
217
;; Slicing [3:6] here should definitely output "def".
218
(stringview_wtf16.slice
219
- (string.const "abcdefgh")
+ (string.as_wtf16
220
+ (string.const "abcdefgh")
221
+ )
222
(i32.const 3)
223
(i32.const 6)
224
)
@@ -233,7 +235,9 @@
233
235
;; This slice contains non-ascii, so we do not optimize.
234
236
237
;; abcd£fgh
- (string.const "abcd\C2\A3fgh")
238
239
+ (string.const "abcd\C2\A3fgh")
240
241
242
243
0 commit comments