You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the Arrow 1.2.1 (and possibly 1.2.0) Optics KSP plugin, one of the files seem to get an import with a broken alias. I don't quite know why it's even importing the type, as the type it imports is in the same package as the generated code. And the import alias is broken because the package it's in includes the segment data:
Here's the top of the generated WorkoutHistoryPage__Optics.kt:
This results in a compilation error because of the import alias:
WorkoutHistoryPage__Optics.kt:6:78 Expecting a top level declaration
This does work in 1.1.5, where the import is not generated. (edited)
The text was updated successfully, but these errors were encountered:
sindrenm
changed the title
Optics KSP Plugikn breaks if the word “data” is part of the package
Optics KSP Plugin breaks if the word “data” is part of the package
Oct 2, 2023
With the Arrow 1.2.1 (and possibly 1.2.0) Optics KSP plugin, one of the files seem to get an import with a broken alias. I don't quite know why it's even importing the type, as the type it imports is in the same package as the generated code. And the import alias is broken because the package it's in includes the segment
data
:Here's the top of the generated WorkoutHistoryPage__Optics.kt:
This results in a compilation error because of the import alias:
This does work in 1.1.5, where the import is not generated. (edited)
The text was updated successfully, but these errors were encountered: