Matthias Krüger
Matthias Krüger
Ok. From looking at the stacktrace this looked to me like it was happening in simplecpp but I probably interpreted that wrongly then ....
Link to cppcheck trac ticket: https://trac.cppcheck.net/ticket/8585
in none-asan mode, it only displays a bunch of corrupted characters but does not crash, so I doubt we would have found this on travis :/
There seem to be a couple of other characters that are stripped from a value if they are at the start or the end such as `~:[]`
We can generate invalid code by having characters as json keys: schema: `{ ;: ;}` rule: `; HAS ;` generated code does not compile: ````js huml.appendRule("", [";", ";"], "; HAS...
I would say two arrays are equal if they have the same length and the same elements in the same order.
@rustbot prioritize
There is a similar file in the rustc repo `src/test/ui/mir/ssa-analysis-regression-50041.rs ` which does not crash: ````diff --- src/test/ui/mir/ssa-analysis-regression-50041.rs 2022-07-17 12:25:49.238091488 +0200 +++ /tmp/im/8e9c14a03c386623fed51bea2843c68ff16ca8d1.rs 2022-09-18 05:59:43.438071009 +0200 @@ -5,7 +5,7 @@...
@bors r- need test update it seems https://github.com/rust-lang/rust/actions/runs/3108219234/jobs/5037174841#step:25:1567
@bors p=5 bitrotty