Failed R6RS conformance tests (was:unsyntax and friends)
Bug #251487 reported by
leppie
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Confirmed
|
Medium
|
Abdulaziz Ghuloum |
Bug Description
From the R6RS test suite:
(test (unwrap
#`(1 2 (unsyntax 3 4 5) 6))
'(1 2 3 4 5 6))
(test (unwrap
#`(1 2 (unsyntax-splicing '(3 4) '(5)) 6))
'(1 2 3 4 5 6))
(test (unwrap
#`#(1 2 (unsyntax-splicing '(3 4) '(5)) 6))
'#(1 2 3 4 5 6))
(test (unwrap
#`(1 #`(#,(+ 3 4) #,#,(+ 1 1))))
'(1 #`(#,(+ 3 4) #,2)))
These all fail. The equivalent unquote/splicing works correctly.
This seems to be the only issue with psyntax with the R6RS test suite :-)
Cheers
leppie
Changed in ikarus: | |
assignee: | nobody → aghuloum |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
These should be easy: run/arithmetic/ flonums. sps
$ ikarus --r6rs-script tests/r6rs/
Running tests for (rnrs arithmetic flonums)
8 tests failed:
Expression: condition (#[&assertion] #[&who fllog] #[&message "argument should not be negative"] #[&irritants (-inf.0)])]]
(fllog -inf.0)
Result:
#[err #[compound-
Expected:
+nan.0
Expression: condition (#[&assertion] #[&who apply] #[&message "incorrect number of arguments"] #[&irritants (#<procedure fllog> 2)])]]
(approx (fllog 1024.0 2.0))
Result:
#[err #[compound-
Expected:
1e4
Expression: condition (#[&assertion] #[&who apply] #[&message "incorrect number of arguments"] #[&irritants (#<procedure flatan> 2)])]]
(approx (flatan 0.0 1.0))
Result:
#[err #[compound-
Expected:
0.0
... and the same follows
Cheers
leppie