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

Haskell: skip multi-line type signature #4019

Merged

Conversation

masatake
Copy link
Member

Close #4013.

The original logic extract "thing" in

    thing
        :: App m
        => Int
        -> m Int

as a function because the parser cannot find : after "thing" in the line.

The test case is taken from #4013 submitted by @robinp.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Close universal-ctags#4013.

The original logic extract "thing" in

    thing
	:: App m
	=> Int
	-> m Int

as a function because the parser cannot find : after "thing" in the line.

The test case is taken from universal-ctags#4013 submitted by @robinp.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Copy link

codecov bot commented Jun 13, 2024

Codecov Report

Attention: Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.

Project coverage is 85.43%. Comparing base (08e07dc) to head (7456573).

Files Patch % Lines
parsers/haskell.c 90.90% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4019   +/-   ##
=======================================
  Coverage   85.43%   85.43%           
=======================================
  Files         235      235           
  Lines       56727    56734    +7     
=======================================
+ Hits        48462    48468    +6     
- Misses       8265     8266    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@masatake masatake merged commit 8976ec3 into universal-ctags:master Jun 17, 2024
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant