Advertisement
Guest User

Untitled

a guest
Sep 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. Running hlint...
  2. No hints
  3. src/SubsInterpreter.hs:145:1: too long line (82 chars)
  4. src/SubsInterpreter.hs:166:1: too long line (87 chars)
  5. src/SubsInterpreter.hs:176:1: too long line (97 chars)
  6. Running some property-based tests...
  7. Tests
  8. Simple expressions
  9. Variable declaration: OK
  10. Addition: OK
  11. Addition and multiplication: OK
  12. String concatenation: OK
  13. String/Number concatenation: OK
  14. String/Number concatenation: OK
  15. Undefined: OK
  16. Undefined assignment: OK
  17. True constant: OK
  18. False constant: OK
  19. String constant: OK
  20. Comma: OK
  21. Array: OK
  22. Compare false === false: OK
  23. Compare false === true: OK
  24. Compare true === false: OK
  25. Compare true === true: OK
  26. Compare arrays: OK
  27. Compare arrays: OK
  28. Multiple expressions
  29. Assignments are stored: OK
  30. Assignments can be overridden: OK
  31. Variable-swap: OK
  32. Nested assignment expressions: OK
  33. Array comprehensions
  34. Simple For: OK
  35. Computing array of squares: OK
  36. Nested For: OK
  37. Filter: OK
  38. Array comprehension scope test: FAIL
  39. test.hs:24:
  40. Comma (Assign "x" (Number 1))
  41. (Comma (Compr (ACFor "x"
  42. (Array [Number 2,Number 3])
  43. (ACBody (Var "x"))))
  44. (Var "x"))
  45. expected: Right (IntVal 1)
  46. but got: Right (IntVal 3)
  47. Array comprehension scope test: OK
  48.  
  49. 1 out of 29 tests failed (0.00s)
  50. Our tests could not be run with your source.
  51. static/style-scanner.sh FAILED
  52. dynamic/hunit.sh FAILED
  53. ---
  54. I am not fully satisfied.
  55. ---
  56. Found a bug? Are the messages too cryptic?
  57. Let us know at Absalon.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement