Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Running hlint...
- No hints
- src/SubsInterpreter.hs:145:1: too long line (82 chars)
- src/SubsInterpreter.hs:166:1: too long line (87 chars)
- src/SubsInterpreter.hs:176:1: too long line (97 chars)
- Running some property-based tests...
- Tests
- Simple expressions
- Variable declaration: OK
- Addition: OK
- Addition and multiplication: OK
- String concatenation: OK
- String/Number concatenation: OK
- String/Number concatenation: OK
- Undefined: OK
- Undefined assignment: OK
- True constant: OK
- False constant: OK
- String constant: OK
- Comma: OK
- Array: OK
- Compare false === false: OK
- Compare false === true: OK
- Compare true === false: OK
- Compare true === true: OK
- Compare arrays: OK
- Compare arrays: OK
- Multiple expressions
- Assignments are stored: OK
- Assignments can be overridden: OK
- Variable-swap: OK
- Nested assignment expressions: OK
- Array comprehensions
- Simple For: OK
- Computing array of squares: OK
- Nested For: OK
- Filter: OK
- Array comprehension scope test: FAIL
- test.hs:24:
- Comma (Assign "x" (Number 1))
- (Comma (Compr (ACFor "x"
- (Array [Number 2,Number 3])
- (ACBody (Var "x"))))
- (Var "x"))
- expected: Right (IntVal 1)
- but got: Right (IntVal 3)
- Array comprehension scope test: OK
- 1 out of 29 tests failed (0.00s)
- Our tests could not be run with your source.
- static/style-scanner.sh FAILED
- dynamic/hunit.sh FAILED
- ---
- I am not fully satisfied.
- ---
- Found a bug? Are the messages too cryptic?
- Let us know at Absalon.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement