mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-28 03:16:32 +00:00
Fix Prelude (#15714)
* ReSync with Devel
* Fix prelude for JS target
* ReSync devel
* Fix prelude for JS target
(cherry picked from commit e284445e51)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
## Standard library additions and changes
|
||||
|
||||
- `prelude` now works with the JavaScript target.
|
||||
|
||||
|
||||
## Language changes
|
||||
|
||||
@@ -18,4 +18,5 @@
|
||||
# .. code-block:: nim
|
||||
# import os, strutils, times, parseutils, parseopt, hashes, tables, sets
|
||||
|
||||
import os, strutils, times, parseutils, parseopt, hashes, tables, sets
|
||||
import os, strutils, times, parseutils, hashes, tables, sets
|
||||
when not defined(js): import parseopt
|
||||
|
||||
Reference in New Issue
Block a user