Closed sts10 closed 1 year ago
Previously, it didn't support tabs. Now you can use tabs or spaces but not both.
Ah, OK. So it was my if
statement!
I could see why you'd want to keep Cyber spaces-only, as a way to enforce a common style across projects / improve compatibility. I'd just say you need to tweak the playground to insert 4 spaces when a user hits the tab key (which is what I did in this example).
In the playground, extending the list example:
I'd expect "Success!" to be printed, but the above throws the error:
Don't think my
if
statement is wrong, but it could be!