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

Warn about reserved names #11

Merged
merged 2 commits into from
Dec 14, 2015
Merged

Warn about reserved names #11

merged 2 commits into from
Dec 14, 2015

Conversation

danielberkompas
Copy link
Owner

As mentioned in #10, you cannot use a TwiML verb name as a parameter in
a function definition, like this:

Enum.each [1, 2] fn(number) ->
  say "Press #{number}"
end

This commit adds a nice warning message if a user attempts to do this,
telling them that the "number" verb is reserved.

As mentioned in #10, you cannot use a TwiML verb name as a parameter in
a function definition, like this:

```elixir
Enum.each [1, 2] fn(number) ->
  say "Press #{number}"
end
```

This commit adds a nice warning message if a user attempts to do this,
telling them that the "number" verb is reserved.
danielberkompas added a commit that referenced this pull request Dec 14, 2015
@danielberkompas danielberkompas merged commit 60d953d into master Dec 14, 2015
@danielberkompas danielberkompas deleted the bugfix/reserved-names branch December 14, 2015 17:17
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.

1 participant