mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 12:07:51 +00:00
Merge branch 'devel' of https://github.com/nim-lang/Nim into devel
This commit is contained in:
@@ -828,7 +828,7 @@ proc quit(msg: TMsgKind) =
|
||||
proc log*(s: string) {.procvar.} =
|
||||
var f: File
|
||||
if open(f, "nimsuggest.log", fmAppend):
|
||||
f.writeln(s)
|
||||
f.writeLine(s)
|
||||
close(f)
|
||||
|
||||
proc handleError(msg: TMsgKind, eh: TErrorHandling, s: string) =
|
||||
|
||||
@@ -15,7 +15,7 @@ const debugEchoCode = false
|
||||
import ast except getstr
|
||||
|
||||
import
|
||||
strutils, astalgo, msgs, vmdef, vmgen, nimsets, types, passes, unsigned,
|
||||
strutils, astalgo, msgs, vmdef, vmgen, nimsets, types, passes,
|
||||
parser, vmdeps, idents, trees, renderer, options, transf, parseutils,
|
||||
vmmarshal
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
# this copy depends on the involved types.
|
||||
|
||||
import
|
||||
unsigned, strutils, ast, astalgo, types, msgs, renderer, vmdef,
|
||||
strutils, ast, astalgo, types, msgs, renderer, vmdef,
|
||||
trees, intsets, rodread, magicsys, options, lowerings
|
||||
|
||||
from os import splitFile
|
||||
|
||||
@@ -100,7 +100,7 @@ when defined(Windows):
|
||||
stdout.write "\n"
|
||||
|
||||
else:
|
||||
import linenoise, termios, unsigned
|
||||
import linenoise, termios
|
||||
|
||||
proc readLineFromStdin*(prompt: string): TaintedString {.
|
||||
tags: [ReadIOEffect, WriteIOEffect].} =
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
# TODO: Clean up the exports a bit and everything else in general.
|
||||
|
||||
import unsigned, os
|
||||
import os
|
||||
|
||||
when hostOS == "solaris":
|
||||
{.passl: "-lsocket -lnsl".}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
## This module implements a high-level cross-platform sockets interface.
|
||||
|
||||
{.deadCodeElim: on.}
|
||||
import nativesockets, os, strutils, unsigned, parseutils, times
|
||||
import nativesockets, os, strutils, parseutils, times
|
||||
export Port, `$`, `==`
|
||||
|
||||
const useWinVersion = defined(Windows) or defined(nimdoc)
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
# distribution, for details about the copyright.
|
||||
#
|
||||
|
||||
import
|
||||
strutils, unsigned
|
||||
import strutils
|
||||
|
||||
const Sha1DigestSize = 20
|
||||
|
||||
|
||||
@@ -86,6 +86,13 @@ Nim's Community
|
||||
|
||||
The `G+ Nim community <https://plus.google.com/u/0/communities/106921341535068810587>`_ is another place where discussions related to the language happen. Read and follow various articles, posts and interesting links about Nim.
|
||||
|
||||
.. container:: standout
|
||||
|
||||
Meetup
|
||||
------
|
||||
|
||||
The `Nim BR Meetup <http://www.meetup.com/pt-BR/nim-br>`_ is a brazilian user group about Nim where they are having discussions, talks or workshops about Nim programming language.
|
||||
|
||||
.. container:: standout
|
||||
|
||||
How to help
|
||||
|
||||
Reference in New Issue
Block a user