Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /here/there/everywhere/ggplotnim/src/ggplotnim.nim(1549, 7) Error: type mismatch: got <Viewport, seq[GraphObject]>
- but expected one of:
- func addObj(view: var Viewport; objs: varargs[GraphObject])
- first type mismatch at position: 1
- required type for view: var Viewport
- but expression 'view' is immutable, not 'var'
- func addObj(view: var Viewport; obj: GraphObject)
- first type mismatch at position: 1
- required type for view: var Viewport
- but expression 'view' is immutable, not 'var'
- expression: addObj(view, @[xLabObj, yLabObj])
Advertisement
Add Comment
Please, Sign In to add comment