Snap des modifications avant modifications des messages d'erreur.

This commit is contained in:
2022-10-04 22:14:21 +02:00
parent a6fb91fd78
commit 5d29c3805b
42 changed files with 781 additions and 36 deletions
@@ -0,0 +1,14 @@
#include "printlib.h"
int main(){
int n;
string s;
n=17;
s="seventeen";
s = n*s;
return 0;
}
// EXITCODE 2
// EXPECTED
// In function main: Line 8 col 6: type mismatch for multiplicative operator: integer and string
@@ -0,0 +1,9 @@
#include "printlib.h"
int main(){
println_int(true+true);
return 0;
}
// EXITCODE 2
// EXPECTED
// In function main: Line 4 col 14: invalid type for additive operands: boolean