Skip to content

(refinements?) Something is passing nullblock instead of the actual block in GraphQL #6002

@enebo

Description

@enebo

Problem reported here: rmosolgo/graphql-ruby#2451

This was originally reported against a non local return regression we had but I noticed this happened between 9.2.6 and 9.2.7 in commit 7f2ab5c. This issue was around some fixes in refinements. The thing which sticks out is the switch from StaticScope to IRScope. If I run grahql with this commit but with --dev and -X-C it is fine. In fact even master passes in interpreted modes. This is exclusively a JIT bug.

I cloned graphql-ruby and was at commit 132db7afcefadb990c0d4e6c38b03f7be4a8932d. I did bundle install and committed out pry-debug in Gemfile. Then ran jruby -S bundle exec rake test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions