Skip to content

Conversation

@miiton
Copy link
Contributor

@miiton miiton commented Feb 6, 2019

When I send a blockstring that has only 1 line and blank...

""""""

language/lexer.go panics.

panic: runtime error: index out of range [recovered]
        panic: runtime error: index out of range

This PR fix that.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 91.87% when pulling 63adf01 on miiton:fix-panic-blockstring into 21fe71d on graphql-go:master.

@chris-ramon
Copy link
Member

Thanks a lot for fixing it @miiton 👍 , closing this one in favor of: #456

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.

3 participants