[MacPorts] #72267: ledit fails to build: Error: This expression has type (MLast.patt * MLast.expr * MLast.attributes) list
MacPorts
noreply at macports.org
Tue Apr 1 14:10:34 UTC 2025
#72267: ledit fails to build: Error: This expression has type (MLast.patt *
MLast.expr * MLast.attributes) list
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: ledit
--------------------------+--------------------
{{{
---> Building ledit
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_ledit/ledit/work/ledit-2.04"
&& /usr/bin/make -w all
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_ledit/ledit/work/ledit-2.04'
camlp5r -I ext -loc loc ext/pa_def.ml -o ext/pa_def.ppo
ocamlc -I `camlp5 -where` -c -impl ext/pa_def.ppo
File "ext/pa_def.ml", line 36, characters 55-58:
36 | let pel = List.map (fun (p, e) -> (p, loop e)) pel in
^^^
Error: This expression has type
(MLast.patt * MLast.expr * MLast.attributes) list
but an expression was expected of type ('a * MLast.expr) list
Type MLast.patt * MLast.expr * MLast.attributes
is not compatible with type 'a * MLast.expr
make: *** [ext/pa_def.cmo] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_ledit/ledit/work/ledit-2.04'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_ledit/ledit/work/ledit-2.04"
&& /usr/bin/make -w all
Exit code: 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72267>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list