summary refs log tree commit diff stats
path: root/compiler/packagehandling.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-05-08 20:36:25 +0200
committerGitHub <noreply@github.com>2019-05-08 20:36:25 +0200
commit641e8f596c6bfd005e6677b2faeb90dce513adb0 (patch)
tree66e6d096ba61fb01854a2844cafc0b14e17ccb89 /compiler/packagehandling.nim
parent3b27b80069917b790ff954be30dd4ff3514bcd8f (diff)
parentf6c9fe789f662342bb44117a1fe98a7a585a8f4d (diff)
downloadNim-641e8f596c6bfd005e6677b2faeb90dce513adb0.tar.gz
Merge pull request #11201 from nim-lang/araq-fixes-11200
fixes 11200
Diffstat (limited to 'compiler/packagehandling.nim')
-rw-r--r--compiler/packagehandling.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/packagehandling.nim b/compiler/packagehandling.nim
index 548668824..b9db61b4d 100644
--- a/compiler/packagehandling.nim
+++ b/compiler/packagehandling.nim
@@ -43,7 +43,7 @@ proc fakePackageName*(conf: ConfigRef; path: AbsoluteFile): string =
   result = relativeTo(path, conf.projectPath, '/').string.multiReplace(
     {"/": "7", "..": "_", "7": "77", "_": "__", ":": "8", "8": "88"})
 
-proc demaglePackageName*(path: string): string =
+proc demanglePackageName*(path: string): string =
   result = path.multiReplace(
     {"88": "8", "8": ":", "77": "7", "__": "_", "_7": "../", "7": "/"})