Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
Add new warning to suppressWarnings documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaswerkmeister committed Jul 10, 2016
1 parent 3662bcf commit 02b95d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion language/src/ceylon/language/annotations.ceylon
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,8 @@ shared annotation SuppressWarningsAnnotation suppressWarnings(
`smallIgnored`,
`literalNotSmall`,
`redundantNarrowing`,
`redundantIteration`."
`redundantIteration`,
`missingImportPrefix`."
String* warnings)
=> SuppressWarningsAnnotation(*warnings);

Expand Down

4 comments on commit 02b95d1

@quintesse
Copy link
Contributor

Choose a reason for hiding this comment

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

Ah I didn't know about that one. Thanks!

@lucaswerkmeister
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I only remembered it because I almost made the same mistake in #6183 :)

(Perhaps I could add a comment to the enum – “remember to update this too”)

@quintesse
Copy link
Contributor

Choose a reason for hiding this comment

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

(Perhaps I could add a comment to the enum – “remember to update this too”)

Seems like a good idea, yes

@lucaswerkmeister
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please sign in to comment.