-
Notifications
You must be signed in to change notification settings - Fork 171
Closed
Labels
AgdaIssues of the Agda backendIssues of the Agda backendCC++JavaOCamlbugdefineIssue with define pragmaIssue with define pragmalistsConcerning list categories and separator/terminator/delimiter pragmasConcerning list categories and separator/terminator/delimiter pragmasregression in master
Milestone
Description
The original example for define
by Ulf Norell is currently only accepted by the Haskell backends.
Lines 22 to 23 in 3da1b0e
define if e s = If e s (Block []) ; | |
define for i c s b = Block [i, While c (Block [b, s])] ; |
- Agda: wrong list constructors
- C: list constructors rendered wrongly as
make_(:)
andmake_[]
. - CPP: missing sanitization of
if
andfor
(keyword clash, regression), wrong list constructors. - Ocaml: missing sanitization (regression), list cons
(:) (a,b)
instead of(a :: b)
. - Java: missing sanitization (regression), complaint that
if
clashes withIf
. Works in 2.9.1 with--force
.
Missing sanitization is a regression wrt. 2.9.1, introduced by #287.
The list constructors probably never worked.
Metadata
Metadata
Assignees
Labels
AgdaIssues of the Agda backendIssues of the Agda backendCC++JavaOCamlbugdefineIssue with define pragmaIssue with define pragmalistsConcerning list categories and separator/terminator/delimiter pragmasConcerning list categories and separator/terminator/delimiter pragmasregression in master