#Ts error
1 messages · Page 1 of 1 (latest)
<@&987246964494204979> please have a look, thanks.
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
You can use </chatgpt:1108714622413963314> to ask ChatGPT about your question while you wait for a human to respond.
what's the matter, whatdo u have ?
Heres my lexer.ts
I uploaded your attachments as Gist.
In this part,
if (src[0] === '/') {
if (src[1] === '/') {
while (src[0] !== '\n' && src.length > 0) {
src.shift();
}
continue;
} else if (src[1] === '*') {
src.shift();
src.shift();
while (src.length > 0) {
if (src[0] === '/' && src[1] === '*') {
src.shift();
src.shift();
break;
}
src.shift();
}
continue;
}
}
Detected code, here are some useful tools:
i get this error:
This comparison appears to be unintentional because the types '"/"' and '"\n"' have no overlap.deno-ts(2367)
you mean compilation err, which line please?