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

patch to improve "wrong file naming" error messages #5832

Closed
vicuna opened this Issue Nov 17, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@vicuna
Copy link
Collaborator

vicuna commented Nov 17, 2012

Original bug ID: 5832
Reporter: sesquized
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2015-12-11T18:18:47Z)
Resolution: fixed
Priority: normal
Severity: tweak
Platform: Windows
OS: Windows
OS Version: Vista 64
Version: 4.00.1
Fixed in version: 4.01.0+dev
Category: misc

Bug description

This patch changes the error message for this situation:

open List
let _ = LIST.env

Instead of
File "test1.ml", line 1, characters 0-1:
Error: Wrong file naming: /usr/lib/ocaml/lIST.cmi
contains the compiled interface for
List

you get

File "test1.ml", line 1:
Error: Wrong file naming: c:\tools\Ocaml-cygwin\lib\ocaml/lIST.cmi
contains the compiled interface for
LIST when List was expected

File attachments

@vicuna

This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Apr 29, 2013

Comment author: @alainfrisch

Thanks for your patch. I've integrated it to the trunk (commit 13618). It will be part of the next release (OCaml 4.01).

@vicuna vicuna closed this Dec 11, 2015

@vicuna vicuna added the bug label Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.