Remove Deprecated Nimscript proc (#19629)

This commit is contained in:
Juan Carlos 2022-03-23 16:42:54 -03:00 • committed by GitHub
commit d14e8e8dcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,14 +136,6 @@ proc dirExists*(dir: string): bool {.
## Checks if the directory `dir` exists. ## Checks if the directory `dir` exists.
builtin builtin
template existsFile*(args: varargs[untyped]): untyped {.deprecated: "use fileExists".} =
# xxx: warning won't be shown for nimsscript because of current logic handling
# `foreignPackageNotes`
fileExists(args)
template existsDir*(args: varargs[untyped]): untyped {.deprecated: "use dirExists".} =
dirExists(args)
proc selfExe*(): string = proc selfExe*(): string =
## Returns the currently running nim or nimble executable. ## Returns the currently running nim or nimble executable.
# TODO: consider making this as deprecated alias of `getCurrentCompilerExe` # TODO: consider making this as deprecated alias of `getCurrentCompilerExe`