Skip to content

Error message for _ in expression is incomprehensible #6400

@vicuna

Description

@vicuna

Original bug ID: 6400
Reporter: @whitequark
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2017-02-16T14:16:12Z)
Resolution: fixed
Priority: normal
Severity: minor
Target version: 4.03.0+dev / +beta1
Fixed in version: 4.03.0+dev / +beta1
Category: ~DO NOT USE (was: OCaml general)
Tags: patch
Child of: #5068
Monitored by: @gasche

Bug description

For example:

[{pstr_desc = Pstr_extension (extension_of_error error, _)}];;

Error: Syntax error: operator expected.

First, the error message makes no sense at all. Second, the `_' is underlined, which adds to the confusion.

File attachments

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions