mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
Merge remote-tracking branch 'origin/stable-2.0'
Conflicts: libguile/read.c test-suite/tests/tree-il.test
This commit is contained in:
commit
a41bed83ab
10 changed files with 426 additions and 205 deletions
|
@ -126,6 +126,20 @@
|
|||
"~A: warning: possibly wrong number of arguments to `~A'~%"
|
||||
loc name))))
|
||||
|
||||
(duplicate-case-datum
|
||||
"report a duplicate datum in a case expression"
|
||||
,(lambda (port loc datum clause case-expr)
|
||||
(emit port
|
||||
"~A: warning: duplicate datum ~S in clause ~S of case expression ~S~%"
|
||||
loc datum clause case-expr)))
|
||||
|
||||
(bad-case-datum
|
||||
"report a case datum that cannot be meaningfully compared using `eqv?'"
|
||||
,(lambda (port loc datum clause case-expr)
|
||||
(emit port
|
||||
"~A: warning: datum ~S cannot be meaningfully compared using `eqv?' in clause ~S of case expression ~S~%"
|
||||
loc datum clause case-expr)))
|
||||
|
||||
(format
|
||||
"report wrong number of arguments to `format'"
|
||||
,(lambda (port loc . rest)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue