yglukhov / nimx

GUI library
MIT License
1.1k stars 75 forks source link

\.nimble\pkgs\nimx-0.1\nimx\layout_vars.nim(19, 32) Error: type mismatch: got <Variable> #454

Closed jlp765 closed 3 years ago

jlp765 commented 3 years ago

but expected one of: proc newExpression(constant: float = 0): Expression first type mismatch at position: 1 required type for constant: float but expression 'left(phs)' is of type: Variable proc newExpression(term: Term; constant: float = 0): Expression first type mismatch at position: 1 required type for term: Term but expression 'left(phs)' is of type: Variable proc newExpression(terms: seq[Term]; constant: float = 0): Expression first type mismatch at position: 1 required type for terms: seq[Term] but expression 'left(phs)' is of type: Variable

expression: newExpression(left(phs))


On a win10 with nim version; Nim Compiler Version 1.4.2 [Windows: amd64]

yglukhov commented 3 years ago

Try updating kiwi dependency

nimble install -y kiwi
jlp765 commented 3 years ago

Yes, that fixed it thanks.