Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning 23 message is confusing #5311

vicuna opened this issue Jul 8, 2011 · 1 comment

Warning 23 message is confusing #5311

vicuna opened this issue Jul 8, 2011 · 1 comment


Copy link

@vicuna vicuna commented Jul 8, 2011

Original bug ID: 5311
Reporter: furuse
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2012-03-31T20:55:39Z)
Resolution: fixed
Priority: normal
Severity: text
Version: 3.12.0
Fixed in version: 4.00.0+dev
Category: ~DO NOT USE (was: OCaml general)
Related to: #6608
Monitored by: @Chris00

Bug description

Warning 23: this record is defined by a `with' expression,
but no fields are borrowed from the original.

Ok, I know what it means, but it seems quite puzzling for ppl who use { x with ... } for the first time. The message should state something to fix it like:

All the fields are explicitly listed in this record, so you do not need to use `with' expression.

Or something like that.

Copy link

@vicuna vicuna commented Mar 31, 2012

Comment author: @damiendoligez

Fixed in 4.00 (commit 12298) and trunk (commit 12299).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants