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
Not yet (and I doubt I am able to provide it). The issue happens about 1 in 5 compilations and when it happens, it usually goes away on subsequent compilation attempt.
Normally this compiles fine, but sometimes with incremental compilation I get following error:
case class PositionWithDirection(pos: Vector3f, dir: Option[Vector3f]) {
[error] | ^
[error] |Cyclic reference involving val pos
[error] |
[error] |The error occurred while trying to compute the signature of method failForBadDirection
[error] | which required to compute the signature of class PositionWithDirection
[error] | which required to compute the signature of constructor PositionWithDirection
[error] | which required to compute the signature of parameter pos
[error] | which required to compute the signature of object PlanManager
[error] | which required to elaborate the export clause export net.gamatron.procas.game.state.PlanManager.PlanExtensions.*
[error] | which required to compute the signature of method onSurface
[error] | which required to type the right hand side of method onSurface since no explicit type was given
[error] | which required to compute the signature of method apply
[error] | which required to compute the signature of parameter pos
[error] | which required to compute the signature of parameter pos
Expectation
either the code compiles always or never. Incremental compilation should make no difference
the error information should be more specific: signature of method apply or signature of parameter pos - how can I know which object is this in?
The text was updated successfully, but these errors were encountered:
Compiler version
3.5.1
Minimized code
Not yet (and I doubt I am able to provide it). The issue happens about 1 in 5 compilations and when it happens, it usually goes away on subsequent compilation attempt.
Some relevant parts of the code are here:
Output
Normally this compiles fine, but sometimes with incremental compilation I get following error:
Expectation
signature of method apply
orsignature of parameter pos
- how can I know which object is this in?The text was updated successfully, but these errors were encountered: