Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

fix(directive-injector): wrong variable name in error thrown. #1397

Closed
wants to merge 1 commit into from

Conversation

rkirov
Copy link
Contributor

@rkirov rkirov commented Aug 27, 2014

Add proper type annotation that would have caught the typo.

Add proper type annotation that would have caught the typo.
@vicb
Copy link
Contributor

vicb commented Aug 27, 2014

There must be a test for this

@jbdeboer
Copy link
Contributor

It is not obvious, but the "test" is adding the type to the error constructor. That caused the analyzer to fail. Fixing the variable name caused the analyzer to pass.

@rkirov
Copy link
Contributor Author

rkirov commented Aug 27, 2014

Yey, optional typing :)

@rkirov rkirov closed this in c533eb5 Aug 29, 2014
rkirov added a commit that referenced this pull request Aug 29, 2014
Add proper type annotation that would have caught the typo.

Closes #1397
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

4 participants