Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty string behavior #178

Open
sp1tz opened this issue Apr 30, 2020 · 2 comments
Open

Empty string behavior #178

sp1tz opened this issue Apr 30, 2020 · 2 comments

Comments

@sp1tz
Copy link
Contributor

sp1tz commented Apr 30, 2020

Any "attribute" of empty string is evaluated as empty string.

''.length; // ''; should be 0
''.foo; // ''; should be error
''.bar; // ''; should be error
@sp1tz sp1tz added the bug label Apr 30, 2020
@mminea
Copy link

mminea commented Aug 27, 2020

This has just been brought up again by a student. Not sure how hard it is to fix.

@mminea
Copy link

mminea commented Feb 3, 2021

A student just stumbled again over this bug. If it is not too hard to fix, it would be useful to avoid confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants