Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Mar 27, 2017

Would be nice to use the compiler option for this, but that must wait on #11051.
Added issue #14885. Other missing breaks that seemed more obviously mistakes were added.

return false;
}
// Public properties/methods are visible if its parents are visible, so const it fall into next case statement
// Public properties/methods are visible if its parents are visible, so
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment got truncated

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"falls through" needs to be on its own line for tslint to see it. So the continuation of this comment is on the next line. Added a colon to clarify.

@ghost ghost merged commit 60fe5a8 into master Apr 18, 2017
@ghost ghost deleted the fallthrough branch April 18, 2017 16:58
@microsoft microsoft locked and limited conversation to collaborators Jun 21, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants