Skip to content

Commit 1c7250d

Browse files
committed
fixed an exception after applying Proguard
1 parent 8d1065a commit 1c7250d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

princess-proguard.pro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
# tables to get line numbers in the stack traces.
3838
# You can comment this out if you're not interested in stack traces.
3939

40-
#-printmapping out.map
40+
#-printmapping mapping.txt
41+
#-printusage unused.txt
42+
4143
#-renamesourcefileattribute SourceFile
4244
#-keepattributes SourceFile,LineNumberTable
4345

src/ap/theories/strings/SeqStringTheory.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,12 @@ class SeqStringTheory private (val alphabetSize : Int) extends {
371371
}
372372
*/
373373

374-
private implicit def toRichTerm(t : ITerm) = new AnyRef {
374+
private class RichTerm(t : ITerm) {
375375
def ~~>(s : ITerm) = IExpression.trig(t === s, t)
376376
}
377377

378+
private implicit def toRichTerm(t : ITerm) = new RichTerm(t)
379+
378380
val reMatchingAxioms = {
379381
import IExpression._
380382

0 commit comments

Comments
 (0)