Skip to content
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

[superseded] fix #16206, nim r / nim -r recompiles if cwd changes #427

Closed
wants to merge 22 commits into from

Conversation

timotheecour
Copy link
Owner

@timotheecour timotheecour commented Dec 7, 2020

fix nim-lang#16271

nim r / nim -r recompiles if cwd changes

=> nim-lang#16349

@timotheecour timotheecour changed the title fix #16206 (#16207) fix #16206 (nim r / nim -r recompiles if cwd changes) Dec 7, 2020
@timotheecour timotheecour changed the title fix #16206 (nim r / nim -r recompiles if cwd changes) fix #16206, nim r / nim -r recompiles if cwd changes Dec 7, 2020
ringabout and others added 22 commits December 7, 2020 10:41
* use funcs and inline in strutils

* use funcs
* use generics in random

* fix
* strutils.nim: procs with {.noSideEffect.} -> func

* strutils.nim: procs without {.noSideEffect.} -> func

* strutils.nim: proc -> func for links

* strutils.nim: proc -> func in doc comments

* test: add strutils to strictFuncs test

* test: proc -> func in errmsg test
* math.nim: procs with {.noSideEffect} -> funcs

* math.nim: procs without {.noSideEffect.} -> funcs

* math.nim: proc -> func in links

* math.nim: proc -> func in doc comments

* test: add `math` to strictFuncs test
* Added Python to highlite module.
* Added the keywords for Python

* Refactored the 'pythonLikeNextToken' into 'nimNextToken':

- `lang` property added to GeneralTokenizer object, is set in `getNextToken`.
- `nimNextToken` accepts `keywords` parameter, used for languages different
  from Nim.
- Multiline comment available only for `langNim`.
…im-lang#16301)

* both funcs and procs are under the same section in the documentation

* update the test
* sequtils.nim: proc -> func

* sequtils.nim: proc -> func in links

* sequtils.nim: proc -> func in non-link doc comments

* test: add `sequtils` to strictFuncs test
* clean up old codes

* fix docs and links

* clean
* Add --cpu to zsh completion
* Add --gc to zsh completion
* Add --os to zsh completion
* Add --panics to zsh completion
* Add --verbosity to zsh completion
* Add --hints to zsh completion

* Update tools/nim.zsh-completion

Co-authored-by: Juan Carlos <[email protected]>

* Update tools/nim.zsh-completion

Co-authored-by: Andreas Rumpf <[email protected]>
* fix nim-lang#16150 improve type mismatch errors

* allow -d:nimLegacyTypeMismatch

* address comment
* unittest: use defines instead of env vars

* use defines in testament

* fixup

Co-authored-by: Andreas Rumpf <[email protected]>
…js on openbsd) (nim-lang#16167)

* fix partially nim-lang#13115 properly (works for c,js,cpp,vm; still fails for js on openbsd)
* address comment: also test with -d:danger, -d:debug
* add math.isNaN
* isNaN now works with --passc:-ffast-math; tests
* Update lib/pure/math.nim

Co-authored-by: Andreas Rumpf <[email protected]>
@timotheecour timotheecour force-pushed the pr_fix_nimcache_nimrun_16271 branch from 1be7c34 to a9b66c9 Compare December 11, 2020 19:24
@timotheecour timotheecour deleted the pr_fix_nimcache_nimrun_16271 branch December 14, 2020 11:02
@timotheecour timotheecour changed the title fix #16206, nim r / nim -r recompiles if cwd changes [superseded] fix #16206, nim r / nim -r recompiles if cwd changes Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nimcache confusion compiling files with the same name in different directories
6 participants