Home My Page Projects Code Snippets Project Openings SML/NJ Bugs
Summary Activity Tracker Lists

[#271] pretty printer regression for structure binding

Date:
2020-08-15 03:45
Priority:
3
State:
Closed
Submitted by:
takayuki goto (eldesh)
Assigned to:
David MacQueen (dbm)
Machine Architecture:
x86
Operating System:
None
Component:
Compiler
Resolution:
Fixed
Severity:
Minor
OS Version:
SML/NJ Version:
110.98
Keywords:
pretty printer, regression
URL:
Transcript (of reproduction):
$ sml Standard ML of New Jersey (64-bit) v110.98 [built: Wed Jul 22 01:56:25 2020] - structure S = struct type s = int end and T = struct type t = unit end; structure S : sig type s = int endstructure T : sig type t = unit end
Source (for reproduction):
structure S = struct type s = int end and T = struct type t = unit end;
Summary:
pretty printer regression for structure binding

Detailed description
[#266]

This script:

```
structure S = struct type s = int end and T = struct type t = unit end;
```

should be formatted like:

```
structure S : sig type s = int end
structure T : sig type t = unit end
```

110.97 formats as expected.

Comments:

Message  ↓
Date: 2020-08-25 13:39
Sender: John Reppy

Fixed by reverting to 110.97 PP code.

Attached Files:

Changes

Field Old Value Date By
status_idOpen2020-08-25 13:39jhr
close_dateNone2020-08-25 13:39jhr
ResolutionAccepted As Bug2020-08-25 13:39jhr
assigned_tonone2020-08-15 15:16jhr
ResolutionNone2020-08-15 15:16jhr