scala/scala-async

Proguard errors on 0.9.5

Closed this issue · 1 comments

I'm attempting to use the Scala 2.11 version of 0.9.5 (obtained through SBT) on Android. After upgrading from 0.9.4 I get the following proguard errors.

Warning: scala.async.internal.AsyncTransform$$typecreator3$1: can't find enclosing method 'scala.reflect.api.Trees$TreeApi startStateMachine$1(scala.async.internal.AsyncMacro,scala.reflect.api.TypeTags$WeakTypeTag,scala.reflect.api.Trees$ClassDefApi,scala.async.internal.ExprBuilder$AsyncBlock,scala.collection.immutable.List)' in program class scala.async.internal.AsyncTransform
Warning: scala.async.internal.LiveVariables$FindUseTraverser$1: can't find enclosing method 'scala.async.internal.LiveVariables$ReferencedFields$3 fieldsUsedIn$1(scala.async.internal.AsyncMacro,scala.async.internal.ExprBuilder$AsyncState,scala.collection.immutable.Set,scala.runtime.VolatileObjectRef)' in program class scala.async.internal.LiveVariables

I couldn't find anything called typecreator in the source code and fieldsUsedIn appears to have a different signature.

After reverting back to 0.9.4 I do not get these errors.

closing for staleness. this would need further investigation to determine what the underlying cause is — a bug in ProGuard, a bug in this repo, a bug in Scala? who knows