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

Narrowed no-internal-module failure to the keyword #1781

Merged
merged 2 commits into from
Nov 24, 2016
Merged

Narrowed no-internal-module failure to the keyword #1781

merged 2 commits into from
Nov 24, 2016

Conversation

JoshuaKGoldberg
Copy link
Contributor

Fixes #939.

A couple of notes:

  • @adidahiya suggested also including the module name in the failure. This doesn't since IMO the failure is just on the module keyword, not the name... but I'm not opposed to also including the name if asked.
  • This blindly uses node.getText().indexOf("module") to determine where to start the error, since the logic for parsing declare and declare could get a little complex.

@nchen63 nchen63 merged commit fa8f644 into palantir:master Nov 24, 2016
@JoshuaKGoldberg JoshuaKGoldberg deleted the no-internal-module-narrowing branch November 24, 2016 02:12
@JoshuaKGoldberg
Copy link
Contributor Author

That was fast, thanks!

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.

2 participants