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
@@ -1,14 +0,0 @@
#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: invalid type for multiplicative operands: integer and string
@@ -1,9 +0,0 @@
#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 and boolean