/0test.stp Secret
Last active
December 16, 2020 20:42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global a; | |
function f() { | |
a = "stringcheese"; | |
} | |
function g() { | |
a = 32; | |
} | |
probe begin { | |
g(); | |
f(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
semantic error: type mismatch (long): identifier 'a' at test.stp:8:5 | |
source: a = 32; | |
^ | |
semantic error: type mismatch (long): identifier 'a' at :8:5 | |
source: a = 32; | |
^ | |
semantic error: type was first inferred here (string): identifier 'a' at :4:5 | |
source: a = "blamefche"; | |
^ | |
Pass 2: analysis failed. [man error::pass2] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment