mirror of
https://github.com/logos-storage/questionable.git
synced 2026-03-22 20:43:12 +00:00
Fixes for styleCheck:usages
This commit is contained in:
parent
955597a4fd
commit
ae41bcfb0f
@ -1,3 +1,9 @@
|
|||||||
|
--styleCheck:usages
|
||||||
|
if (NimMajor, NimMinor) < (1, 6):
|
||||||
|
--styleCheck:hint
|
||||||
|
else:
|
||||||
|
--styleCheck:error
|
||||||
|
|
||||||
# begin Nimble config (version 1)
|
# begin Nimble config (version 1)
|
||||||
when fileExists("nimble.paths"):
|
when fileExists("nimble.paths"):
|
||||||
include "nimble.paths"
|
include "nimble.paths"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import std/options
|
import std/options
|
||||||
|
|
||||||
var captureEnabled {.global, compiletime.}: bool
|
var captureEnabled {.global, compileTime.}: bool
|
||||||
var errorVariable: ptr ref CatchableError
|
var errorVariable: ptr ref CatchableError
|
||||||
|
|
||||||
template captureBindError*(error: var ref CatchableError, expression): auto =
|
template captureBindError*(error: var ref CatchableError, expression): auto =
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user