diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2023-10-29 21:48:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-29 14:48:11 +0100 |
commit | e17237ce9dbf5410623e9d510217e7817bf4fd89 (patch) | |
tree | d521fd68ae6e7abff399c13b51a55352de379d28 /compiler/nir | |
parent | 0c26d19e228e831393cb5d2c1f43660362d349c9 (diff) | |
download | Nim-e17237ce9dbf5410623e9d510217e7817bf4fd89.tar.gz |
prepare for the enforcement of `std` prefix (#22873)
follow up https://github.com/nim-lang/Nim/pull/22851
Diffstat (limited to 'compiler/nir')
-rw-r--r-- | compiler/nir/nir.nim | 2 | ||||
-rw-r--r-- | compiler/nir/stringcases.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/nir/nir.nim b/compiler/nir/nir.nim index c4fb5322d..1efa6719a 100644 --- a/compiler/nir/nir.nim +++ b/compiler/nir/nir.nim @@ -10,7 +10,7 @@ ## Nim Intermediate Representation, designed to capture all of Nim's semantics without losing too much ## precious information. Can easily be translated into C. And to JavaScript, hopefully. -from os import addFileExt, `/`, createDir +from std/os import addFileExt, `/`, createDir import std / assertions import ".." / [ast, modulegraphs, renderer, transf, options, msgs, lineinfos] diff --git a/compiler/nir/stringcases.nim b/compiler/nir/stringcases.nim index 9417d613d..afdf8fda4 100644 --- a/compiler/nir/stringcases.nim +++ b/compiler/nir/stringcases.nim @@ -49,7 +49,7 @@ afterCase: ... # Every string of length > position for which s[position] <= char is in one # set else it is in the other set. -from sequtils import addUnique +from std/sequtils import addUnique type Key = (LitId, LabelId) |