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

Support local open syntax for empty delimiters M.[], M.() etc. #6635

Closed
vicuna opened this issue Oct 28, 2014 · 3 comments

Comments

Projects
None yet
1 participant
@vicuna
Copy link

commented Oct 28, 2014

Original bug ID: 6635
Reporter: @yallop
Assigned to: @yallop
Status: closed (set by @xavierleroy on 2016-12-07T10:47:31Z)
Resolution: fixed
Priority: normal
Severity: minor
Target version: 4.02.3+dev
Fixed in version: 4.03.0+dev / +beta1
Category: ~DO NOT USE (was: OCaml general)
Tags: patch, junior_job
Related to: #6054
Monitored by: @gasche @hcarty

Bug description

For uniformity it'd be nice if the local open syntax supported empty delimiters:

String.[| 1; 2 |];;

  • : int array = [|1; 2|]

String.[| 1 |];;

  • : int array = [|1|]

String.[| |];;

Characters 11-13:
String.[| |];;
^^

@vicuna

This comment has been minimized.

Copy link
Author

commented Dec 22, 2014

Comment author: @damiendoligez

Indeed.

@vicuna

This comment has been minimized.

Copy link
Author

commented Feb 16, 2015

Comment author: @gasche

Note: a patch for this is proposed in
#144

@vicuna

This comment has been minimized.

Copy link
Author

commented Apr 12, 2015

Comment author: @gasche

Patch merged in trunk.

@vicuna vicuna closed this Dec 7, 2016

@vicuna vicuna added the junior-job label Mar 14, 2019

@vicuna vicuna added this to the 4.02.3 milestone Mar 14, 2019

@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.