This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "License": "BSD License", | |
| "Name": "Babel", | |
| "URL": "https://babel.pocoo.org/", | |
| "Version": "2.14.0" | |
| }, | |
| { | |
| "License": "MIT License", | |
| "Name": "Brotli", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| libjpeg-turbo | |
| cmake .. | |
| ``` | |
| -- The C compiler identification is AppleClang 12.0.5.12050022 | |
| -- Detecting C compiler ABI info | |
| -- Detecting C compiler ABI info - done | |
| -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped | |
| -- Detecting C compile features | |
| -- Detecting C compile features - done | |
| -- CMAKE_BUILD_TYPE = Release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| when defined case1: # D20210825T174515:here gitissue | |
| import std/times | |
| import std/monotimes | |
| import std/cputicks | |
| proc mach_absolute_time(): int64 {.importc, header: "<mach/mach.h>".} | |
| template mainAux(algo)= | |
| block: | |
| let t = cpuTime() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| when defined case4: | |
| # still bug | |
| import asynchttpserver, asyncdispatch | |
| var server = newAsyncHttpServer() | |
| proc cb(req: Request) {.async.} = | |
| await req.respond(Http200, "Hello World case4") | |
| let port = 5001 | |
| echo "test this with: curl localhost:" & $port.uint16 & "/" | |
| waitFor server.serve(Port(port), cb) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ```nim | |
| type | |
| InterfaceVTableAnimal = object | |
| <0>say: proc (this: RootRef): string {.nimcall.} | |
| <1>test2: proc (this: RootRef) {.nimcall.} | |
| type | |
| Animal = Interface[InterfaceVTableAnimal] | |
| proc initVTable(t: var InterfaceVTableAnimal; TIfaceUnpackedThis#: typedesc) = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Users/timothee/git_clone/nim/Nim_devel/compiler/nim.nim(128) nim | |
| /Users/timothee/git_clone/nim/Nim_devel/compiler/nim.nim(87) handleCmdLine | |
| /Users/timothee/git_clone/nim/Nim_devel/compiler/main.nim(275) mainCommand | |
| /Users/timothee/git_clone/nim/Nim_devel/compiler/main.nim(245) compileToBackend | |
| /Users/timothee/git_clone/nim/Nim_devel/compiler/main.nim(101) commandCompileToC | |
| /Users/timothee/git_clone/nim/Nim_devel/compiler/modules.nim(178) compileProject | |
| /Users/timothee/git_clone/nim/Nim_devel/compiler/modules.nim(98) compileModule | |
| /Users/timothee/git_clone/nim/Nim_devel/compiler/passes.nim(180) processModule | |
| /Users/timothee/git_clone/nim/Nim_devel/compiler/passes.nim(73) processTopLevelStmt | |
| /Users/timothee/git_clone/nim/Nim_devel/compiler/sem.nim(644) myProcess |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| }, { | |
| "kind": "nkLetSection", | |
| "flags": ["nfIsRef"], | |
| "typ": "nil", | |
| "sons": [{ | |
| "kind": "nkIdentDefs", | |
| "flags": ["nfIsRef"], | |
| "typ": "nil", | |
| "sons": [{ | |
| "kind": "nkIdent", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| }, { | |
| "kind": "nkLetSection", | |
| "flags": ["nfIsRef"], | |
| "typ": "nil", | |
| "sons": [{ | |
| "kind": "nkIdentDefs", | |
| "flags": ["nfIsRef"], | |
| "typ": "nil", | |
| "sons": [{ | |
| "kind": "nkIdent", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Traceback (most recent call last) | |
| /Users/timothee/git_clone/nim/Nim_prs/compiler/nim.nim(128) nim | |
| /Users/timothee/git_clone/nim/Nim_prs/compiler/nim.nim(87) handleCmdLine | |
| /Users/timothee/git_clone/nim/Nim_prs/compiler/main.nim(275) mainCommand | |
| /Users/timothee/git_clone/nim/Nim_prs/compiler/main.nim(245) compileToBackend | |
| /Users/timothee/git_clone/nim/Nim_prs/compiler/main.nim(101) commandCompileToC | |
| /Users/timothee/git_clone/nim/Nim_prs/compiler/modules.nim(178) compileProject | |
| /Users/timothee/git_clone/nim/Nim_prs/compiler/modules.nim(98) compileModule | |
| /Users/timothee/git_clone/nim/Nim_prs/compiler/passes.nim(180) processModule |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/compiler/ast.nim b/compiler/ast.nim | |
| index 2a2a84e76..857aa13ca 100644 | |
| --- a/compiler/ast.nim | |
| +++ b/compiler/ast.nim | |
| @@ -1173,9 +1173,15 @@ when defined(useNodeIds): | |
| const nodeIdToDebug* = -1 # 2322968 | |
| var gNodeId: int | |
| +var totNode* = 0 | |
| +var totSym* = 0 |
NewerOlder