Skip to content

Using assercho fails compilation #2

Open
@Udiknedormin

Description

For Nim 1.2.0 and file "assertecho_test.nim":

import contra

let foo = 42
let bar = 9
assercho(foo > bar, "Assercho for all the Brochachos!")

Compilation aborts with:

$ nim c -r assertecho_test.nim
(...)/assertecho_test.nim(5, 9) template/generic instantiation of `assercho` from here
(...)/nim-1.2.0/lib/core/macros.nim(565, 1) Error: undeclared identifier: 'internalAssercho'

I run it on Linux, Nim's default C compiler is gcc.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions