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

treat quoted property names the same way as identifiers - #933

Merged
merged 1 commit into from
Nov 19, 2017

Conversation

Rich-Harris
Copy link
Member

fixes #914. I think this catches all the cases where we're reading the name of a property, so it should be possible to use quoted names anywhere:

export default {
  'computed': {
    'why': would => anyone,
    'do': such => a_thing
  }
};

@Rich-Harris Rich-Harris merged commit 08ed270 into master Nov 19, 2017
@Rich-Harris Rich-Harris deleted the gh-914 branch November 19, 2017 12:53
sacrosanctic pushed a commit to sacrosanctic/svelte that referenced this pull request Dec 24, 2024
* WIP better nav

* fixes

* fix

* arrow key controls

* rename, fix

* fix
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

Successfully merging this pull request may close these issues.

quoted method names are treated as undefined when validating / checking for duplicates
1 participant