Guest User

Untitled

a guest
Apr 4th, 2020
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. /here/there/everywhere/ggplotnim/src/ggplotnim.nim(1549, 7) Error: type mismatch: got <Viewport, seq[GraphObject]>
  2. but expected one of:
  3. func addObj(view: var Viewport; objs: varargs[GraphObject])
  4. first type mismatch at position: 1
  5. required type for view: var Viewport
  6. but expression 'view' is immutable, not 'var'
  7. func addObj(view: var Viewport; obj: GraphObject)
  8. first type mismatch at position: 1
  9. required type for view: var Viewport
  10. but expression 'view' is immutable, not 'var'
  11.  
  12. expression: addObj(view, @[xLabObj, yLabObj])
Advertisement
Add Comment
Please, Sign In to add comment