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

Add perl_no_subprototype_error for perl's new feature 'signatures' #151

Merged
merged 1 commit into from Feb 26, 2014

Conversation

mattn
Copy link
Contributor

@mattn mattn commented Feb 25, 2014

perl 5.19.9 included signatures feature, and it will be released on 5.20 .
This feature break syntax of sub-routine prototype. For example, signatures allow to be writen like follow.

sub foo($class, $a, $b = sub(){ warn "foo" }) {
  # ...
}

hoelzro added a commit that referenced this pull request Feb 26, 2014
Add perl_no_subprototype_error for perl's new feature 'signatures'
@hoelzro hoelzro merged commit 3eddc30 into vim-perl:master Feb 26, 2014
@hoelzro
Copy link
Member

hoelzro commented Feb 26, 2014

Merged, thanks!

@mvgrimes
Copy link

mvgrimes commented Jul 2, 2014

The opening parens is still being highlighted as errors for me even with the current master (c79550d).

screen shot 2014-07-02 at 9 41 10 am

I've tried to eliminate all of my vim-perl config except let perl_no_subprototype_error=1.

@hoelzro
Copy link
Member

hoelzro commented Jul 2, 2014

@mvgrimes Thanks for the report; I've opened a new issue for it in #166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants