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

[trivial] parseAttribute() error message did not mention @nogc #6084

Merged
merged 1 commit into from
Aug 27, 2016

Conversation

Cauterite
Copy link
Contributor

code is self-explanatory

@dlang-bot
Copy link
Contributor

@Cauterite, thanks for your PR! By analyzing the annotation information on this pull request, we identified @yebblies, @9rnsr and @WalterBright to be potential reviewers. @yebblies: The PR was automatically assigned to you, please reassign it if you were identified mistakenly.

(The DLang Bot is under development. If you experience any issues, please open an issue at its repo.)

@@ -1384,7 +1384,8 @@ final class Parser : Lexer
*pudas = UserAttributeDeclaration.concat(*pudas, udas);
}
else
error("valid attributes are @property, @safe, @trusted, @system, @disable");
error("valid attributes are @%s, @%s, @%s, @%s, @%s, @%s",
Copy link
Member

Choose a reason for hiding this comment

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

Just have a string, please!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But what's the point of having Idgen if we're just hardcoding the identifiers anyway?

Copy link
Member

Choose a reason for hiding this comment

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

The point is to make them work as identifiers for the lexer.

@codecov-io
Copy link

Current coverage is 87.42% (diff: 100%)

Merging #6084 into master will not change coverage

@@             master      #6084   diff @@
==========================================
  Files            97         97          
  Lines         56166      56166          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits          49101      49101          
  Misses         7065       7065          
  Partials          0          0          

Powered by Codecov. Last update fb9ef07...c215fe2

@WalterBright
Copy link
Member

thanks!

@WalterBright WalterBright merged commit 12f284c into dlang:master Aug 27, 2016
@Cauterite Cauterite deleted the parserpatch1 branch August 27, 2016 20:59
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.

5 participants