Skip to content

EPA: Use custom AnnsIf structure for HsIf and HsCmdIf

Alan Zimmerman requested to merge wip/az/T19813 into master

Before this the exactprint annotations for HsIf were captured as EpAnn [AddEpAnn]

This meant that for

foo c = if c == '_'; then '.'; else c

the two semicolons and then, else are all just in the [AddEpAnn].

Introduce a custom AnnsIf data structure for the HsIf and HsCmdIf constructors.

Closes #19813 (closed)

Merge request reports