Skip to content

Compilation issue on devel #217

@mratsim

Description

@mratsim

Reported by @Vindaar

<...>/Arraymancer/src/tensor/fallback/blas_l3_gemm_micro_kernel.nim(30, 16) Error: type mismatch: got <NimNodeKind, NimNode, NimNode, tuple of (proc (kind: NimNodeKind, children: varargs[NimNode]): NimNode{.noSideEffect, gcsafe, locks: 0.}, NimNodeKind, NimNode, NimNode, NimNode)>
but expected one of: 
proc newTree(kind: NimNodeKind; children: varargs[NimNode]): NimNode
  first type mismatch at position: 2
  required type: varargs[NimNode]
  but expression 'ident("+=")' is of type: NimNode

expression: newTree(nnkInfix, ident("+="), newTree(nnkBracketExpr, [AB, newLit(i + j * MR)]), (
    newTree, nnkInfix, ident("*"), newTree(nnkBracketExpr, [a,
    newTree(nnkInfix, [ident("+"), newLit(i), offA])]), newTree(nnkBracketExpr,
    [b, newTree(nnkInfix, [ident("+"), newLit(j), offB])])))
     Error: Execution failed with exit code 1
Nim Compiler Version 0.18.1 [Linux: amd64]
Copyright (c) 2006-2018 by Andreas Rumpf

git hash: c6f15c53f458ec0138d006edcaca349281fda753
active boot switches: -d:release

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions