We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccfd01e commit 74a4c54Copy full SHA for 74a4c54
test/lit/passes/precompute-strings.wast
@@ -162,7 +162,9 @@
162
(func $slice (export "slice") (result (ref string))
163
;; Slicing [3:6] here should definitely output "def".
164
(stringview_wtf16.slice
165
- (string.const "abcdefgh")
+ (string.as_wtf16
166
+ (string.const "abcdefgh")
167
+ )
168
(i32.const 3)
169
(i32.const 6)
170
)
@@ -179,7 +181,9 @@
179
181
;; This slice contains non-ascii, so we do not optimize.
180
182
183
;; abcd£fgh
- (string.const "abcd\C2\A3fgh")
184
185
+ (string.const "abcd\C2\A3fgh")
186
187
188
189
0 commit comments