-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
push pragma is silently ignored if position is in front of import statement #5050
Labels
Comments
Does it even apply on imported files? I'm trying to remove the |
mratsim
added a commit
to mratsim/Arraymancer
that referenced
this issue
Dec 19, 2018
mratsim
added a commit
to mratsim/Arraymancer
that referenced
this issue
Dec 19, 2018
* push spacing warnings off - well blocked by nim-lang/Nim#5050 * Replace future module by sugar * Fix reduce_mean gate * Remove the removable warnings * Forgot OpenMP deprecated randoms
Up to date example: {.push warning[Spacing]: off.}
import strutils
var l = 1 == 7
echo l
{.pop.} vs import strutils
{.push warning[Spacing]: off.}
var l = 1 == 7
echo l
{.pop.} |
narimiran
pushed a commit
to narimiran/Nim
that referenced
this issue
Nov 8, 2019
(cherry picked from commit e1b1759)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That can be very confusing.
(And I would really prefer SmallLshouldNotBeUsed being off by default :-)
The text was updated successfully, but these errors were encountered: