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

workaround compiler bug involving reflective calls #612

Merged
merged 1 commit into from
Nov 2, 2016
Merged

Conversation

fwbrasil
Copy link
Collaborator

@fwbrasil fwbrasil commented Nov 1, 2016

Fixes #542

Problem

The compiler tries to infer the type of the reflectiveCalls but fails with an NPE when the import is inside the nested structural value.

Solution

Move the import to the upper level and use a mechanism to avoid unused import warnings.

Checklist

  • Unit test all changes
  • Update README.md if applicable
  • Add [WIP] to the pull request title if it's work in progress
  • Squash commits that aren't meaningful changes
  • Run sbt scalariformFormat test:scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

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.

1 participant