Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Function name inference #48

Closed
bakkot opened this issue Aug 11, 2016 · 1 comment
Closed

Function name inference #48

bakkot opened this issue Aug 11, 2016 · 1 comment

Comments

@bakkot
Copy link
Contributor

bakkot commented Aug 11, 2016

I would expect the following to print 'a':

class C {
  a = function(){}
}

print((new C).a.name);

Similarly for static properties and computed names.

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

No branches or pull requests

1 participant