Closed MarijnS95 closed 4 years ago
Annotations such as [IdRef(x), Decoration(NonWritable)] will match the if let Decoration clause and attempt to unpack the third operand as LiteralInt32 even if it doesn't exist, resulting in an index out of bounds panic.
[IdRef(x), Decoration(NonWritable)]
if let Decoration
LiteralInt32
index out of bounds
Annotations such as
[IdRef(x), Decoration(NonWritable)]
will match theif let Decoration
clause and attempt to unpack the third operand asLiteralInt32
even if it doesn't exist, resulting in anindex out of bounds
panic.