Open jamesjuett opened 4 years ago
Example:
string s = "frog" + 's';
This actually offsets the char * pointing to the string literal "frog" by the ascii value of 's'.
char *
"frog"
's'
It should be relatively straightforward for Lobster to produce a warning for this.
Example:
This actually offsets the
char *
pointing to the string literal"frog"
by the ascii value of's'
.It should be relatively straightforward for Lobster to produce a warning for this.