Fix internal error when the abstract-nondet SMTChecker natspec annotation is used with a wrong option multiple times for the same function

This commit is contained in:
Leo Alt
2022-11-28 16:59:35 +01:00
parent 4baeddc62b
commit a5dab6181c
3 changed files with 16 additions and 1 deletions
@@ -0,0 +1,10 @@
contract C {
/// @custom:smtchecker b
/// @custom:smtchecker
/// @custom:smtchecker a b c
function f() internal {}
}
contract D is C {}
// ----
// Warning 3130: (106-130): Unknown option for "custom:smtchecker": "b"