Skip to content

Commit 71f77f9

Browse files
committed
update broken build
1 parent d186706 commit 71f77f9

File tree

4 files changed

+9
-19
lines changed

4 files changed

+9
-19
lines changed

agda2scala.cabal

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ library
3434
Agda.Compiler.Scala.PrintScala3
3535
Paths_agda2scala
3636
autogen-modules: Paths_agda2scala
37-
build-depends: base >= 4.10 && < 4.20,
38-
containers > 0.6 && < 0.7,
39-
Agda >= 2.6.4 && < 2.6.5,
37+
build-depends: base >= 4.13 && < 4.21,
38+
containers > 0.6 && < 0.8,
39+
Agda >= 2.7 && < 2.8,
4040
deepseq >= 1.4.4 && < 1.6,
4141
text >= 1.2.3.1
4242
default-language: Haskell2010
@@ -47,8 +47,8 @@ executable agda2scala
4747
main-is: Main.hs
4848
other-modules: Paths_agda2scala
4949
autogen-modules: Paths_agda2scala
50-
build-depends: base >= 4.10 && < 4.20,
51-
Agda >= 2.6.4 && < 2.6.5,
50+
build-depends: base >= 4.13 && < 4.21,
51+
Agda >= 2.7 && < 2.8,
5252
agda2scala
5353
default-language: Haskell2010
5454
import: warnings
@@ -59,7 +59,7 @@ test-suite agda2scala-test
5959
type: exitcode-stdio-1.0
6060
hs-source-dirs: test
6161
main-is: Main.hs
62-
build-depends: base >=4.10 && < 4.20,
63-
Agda >= 2.6.4 && < 2.6.5,
62+
build-depends: base >= 4.13 && < 4.21,
63+
Agda >= 2.7 && < 2.8,
6464
HUnit >= 1.6.2.0,
6565
agda2scala

examples/adts.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ final case class RgbPair(snd: Bool, fst: Rgb)
1313

1414
def idRgb(theArg: Rgb): Rgb = theArg
1515

16-
def and0(rgbArg: Rgb, rgbPairArg: RgbPair): RgbPair = rgbPairArg
16+
def constRgbPair(rgbArg: Rgb, rgbPairArg: RgbPair): RgbPair = rgbPairArg
1717
}

scala2/src/main/scala/examples/adts.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
package examples
2-
31
object adts {
42

53
sealed trait Rgb

src/Agda/Compiler/Scala/Backend.hs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,9 @@ import System.Console.GetOpt ( OptDescr(Option), ArgDescr(ReqArg) )
1818
import Paths_agda2scala ( version )
1919

2020
import Agda.Main ( runAgda )
21-
import Agda.Compiler.Backend (
22-
Backend(..)
23-
, Backend'(..)
24-
, Definition
25-
, Flag
26-
, IsMain
27-
, Recompile(..)
28-
, TCM )
21+
import Agda.Compiler.Backend
2922
import Agda.Interaction.Options ( OptDescr )
3023
import Agda.Compiler.Common ( curIF, compileDir )
31-
import Agda.Compiler.Backend ( IsMain )
3224
import Agda.Syntax.Abstract.Name ( QName )
3325
import Agda.Syntax.Common.Pretty ( prettyShow )
3426
import Agda.Syntax.Common ( moduleNameParts )

0 commit comments

Comments
 (0)