Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007506OCamllexing and parsingpublic2017-03-20 13:342017-03-20 14:18
Reporterasai 
Assigned To 
PrioritylowSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformAppleOSMacOS XOS Version10.12
Product Version4.04.0 
Target VersionFixed in Version 
Summary0007506: pprintast ignores attributes in tails of a list
DescriptionLet a.ml be:

let a = ([1; 2])[@hello]
let b = 0::(([1; 2])[@hello])

$ ocamlc -dsource a.ml
let a = (([1; 2])[@hello ])
let b = [0; 1; 2]

where the attribute for [1; 2] in b is ignored. The output for b should be 0::(([1; 2])[@hello ]).
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0017690)
gasche (developer)
2017-03-20 14:18

I could reproduce under the 4.05 branch and trunk.

- Issue History
Date Modified Username Field Change
2017-03-20 13:34 asai New Issue
2017-03-20 14:18 gasche Note Added: 0017690
2017-03-20 14:18 gasche Status new => confirmed


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker