
louise
Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.
Dernier runRéussi#1199 · main · 10 min 33 s
1Étoiles
0Forks
0Issues
| 1 | // `bytes.build_string` on bytes that are not valid UTF-8 stops the actor, |
| 2 | // on both backends. |
| 3 | |
| 4 | import std/bytes |
| 5 | import std/io |
| 6 | |
| 7 | pub fn main :: -> () / <io> |
| 8 | { |
| 9 | let b = bytes.builder () |> bytes.append_string "abc" |> bytes.append_byte 255 |
| 10 | io.println (bytes.build_string b) |
| 11 | } |
| 12 | //! panic: bytes.build_string: invalid UTF-8 at byte 3 |