Skip to content

Shapeless produces 'Referring to non-existent method' erros during fast optimization #1

@tymm

Description

@tymm

When I try to use circe (and therefore shapeless) in sri (with sbt-sri-platform-2017.4.10-beta), I get a bunch of Referring to non-existent method errors during fast optimization. Compiling works fine.

Errors look like this or similar:

[error] Referring to non-existent class shapeless.Lazy$

I created a repository which reproduces this issue:
https://github.com/tymm/sri-circe-bug

Removing

seems to solve the issue.

Can you share some insights on what exactly is happening at line 62 in ConfigBuilder.scala and if we can just remove it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions