Advertisement
Guest User

Untitled

a guest
Dec 24th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Error:
  2. /src/main/main.pony:12:34: receiver type is not a subtype of target type
  3. var e_val = e_approx.evaluate()
  4. ^
  5. Info:
  6. /src/main/main.pony:12:17: receiver type: Eapproximator tag
  7. var e_val = e_approx.evaluate()
  8. ^
  9.  
  10. /src/main/main.pony:6:3: target type: Eapproximator box
  11. fun evaluate() : F64 =>
  12. ^
  13. /src/main/main.pony:3:3: Eapproximator tag is not a subtype of Eapproximator box: tag is not a subcap of box
  14. new create(step' : F64) =>
  15. ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement