You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 6117 Reporter: goswin Status: closed (set by @xavierleroy on 2015-12-11T18:21:25Z) Resolution: fixed Priority: normal Severity: minor Platform: linux OS: debian OS Version: experimental Version: 4.00.1 Fixed in version: 4.01.0+dev Category: typing Duplicate of:#5782
Bug description
A type error with a record uses the confusing phrase "labels of type unit",
Steps to reproduce
type r = { foo : int };;
type r = { foo : int; }
let _ = ({ foo = 1; } : unit);;
Error: The record field label foo belongs to the type r
but is mixed here with labels of type unit
The text was updated successfully, but these errors were encountered:
Original bug ID: 6117
Reporter: goswin
Status: closed (set by @xavierleroy on 2015-12-11T18:21:25Z)
Resolution: fixed
Priority: normal
Severity: minor
Platform: linux
OS: debian
OS Version: experimental
Version: 4.00.1
Fixed in version: 4.01.0+dev
Category: typing
Duplicate of: #5782
Bug description
A type error with a record uses the confusing phrase "labels of type unit",
Steps to reproduce
type r = { foo : int };;
type r = { foo : int; }
let _ = ({ foo = 1; } : unit);;
Error: The record field label foo belongs to the type r
but is mixed here with labels of type unit
The text was updated successfully, but these errors were encountered: