on master help sign in
Migrated to lts-15.3
commitd7a669bf95303aafdcd3d9f7df7a7d67658f33de authoriko <ilyakooo0@gmail.com> dateThu 12 Mar 2020, 22:04 (7 years ago) parent853e453
4 files changed+12−46
idris.cabal+6−7 src/Idris/Parser/Stack.hs+4−3 stack-alt.yaml−25 stack.yaml+2−11
idris.cabal+6−7
@@ -78,7 +78,7 @@ Extra-source-files:
7878 stack.yaml
7979 stylize.sh
8080 win-release.sh
81−
81+
8282 benchmarks/*.pl
8383 benchmarks/**/*.idr
8484 benchmarks/**/*.ipkg
@@ -304,13 +304,13 @@ Library
304304 Build-depends: base >=4 && <5
305305 , aeson >= 0.6 && < 1.5
306306 , annotated-wl-pprint >= 0.7 && < 0.8
307− , ansi-terminal < 0.10
307+ , ansi-terminal < 0.11
308308 , ansi-wl-pprint < 0.7
309309 , array >= 0.4.0.1 && < 0.6
310310 , base64-bytestring < 1.1
311311 , binary >= 0.8.4.1 && < 0.9
312312 , blaze-html >= 0.6.1.3 && < 0.10
313− , blaze-markup >= 0.5.2.1 && < 0.9
313+ , blaze-markup >= 0.5.2.1 && < 0.10
314314 , bytestring < 0.11
315315 , cheapskate >= 0.1.1.2 && < 0.2
316316 , code-page >= 0.1 && < 0.3
@@ -321,9 +321,9 @@ Library
321321 , fingertree >= 0.1.4.1 && < 0.2
322322 , haskeline >= 0.7 && < 0.8
323323 , ieee754 >= 0.7 && < 0.9
324− , megaparsec >= 7.0.4 && < 8
324+ , megaparsec >= 8 && < 9
325325 , mtl >= 2.1 && < 2.3
326− , network >= 2.7 && < 2.9
326+ , network >= 2.7 && < 3.1.2
327327 , optparse-applicative >= 0.13 && < 0.16
328328 , parser-combinators >= 1.0.0
329329 , pretty < 1.2
@@ -341,7 +341,7 @@ Library
341341 , vector < 0.13
342342 , vector-binary-instances < 0.3
343343 , zip-archive > 0.2.3.5 && < 0.5
344− , fsnotify >= 0.2 && < 2.2
344+ , fsnotify >= 0.2 && < 0.4
345345 , async < 2.3
346346
347347 if !impl(ghc >= 8.0)
@@ -459,4 +459,3 @@ Executable idris-codegen-node
459459 Default-Language: Haskell2010
460460 ghc-prof-options: -auto-all -caf-all
461461 ghc-options: -threaded -rtsopts -funbox-strict-fields
462−
src/Idris/Parser/Stack.hs+4−3
@@ -77,11 +77,12 @@ parseErrorOffset = P.errorOffset . parseError
7777instance Message ParseError where
7878 messageExtent err = sourcePositionFC pos
7979 where
80− (pos, _) = P.reachOffsetNoLine (parseErrorOffset err) (parseErrorPosState err)
80+ P.PosState {P.pstateSourcePos = pos} =
81+ P.reachOffsetNoLine (parseErrorOffset err) (parseErrorPosState err)
8182 messageText = PP.text . init . P.parseErrorTextPretty . parseError
8283 messageSource err = Just sline
8384 where
84− (_, sline, _) = P.reachOffset (parseErrorOffset err) (parseErrorPosState err)
85+ (sline, _) = P.reachOffset (parseErrorOffset err) (parseErrorPosState err)
8586
8687-- | A fully formatted parse error, with caret and bar, etc.
8788prettyError :: ParseError -> String
@@ -89,7 +90,7 @@ prettyError = P.errorBundlePretty . unParseError
8990
9091{- * Mark and restore -}
9192
92−type Mark = P.State String
93+type Mark = P.State String Void
9394
9495-- | Retrieve the parser state so we can restart from this point later.
9596mark :: Parsing m => m Mark
stack-alt.yamldeleted−25
@@ -1,25 +0,0 @@
1−#recheck extra-deps next on resolver or cabal file change
2−resolver: lts-11.4
3−
4−packages:
5− - location: .
6−
7−extra-deps:
8− - network-2.8.0.0@sha256:aae171e6c6028a7791dbe4de5b9d2da398056359e3cc7927465ffa3cdae1aa0b
9− - Cabal-2.2.0.1@sha256:2a80d8fb655474f0eaeb20434c47f64f84e6302e55973056f00df8ca050b9683
10− - megaparsec-7.0.4
11− - parser-combinators-1.0.0
12− - zip-archive-0.3.3@sha256:47cf2d66cc8e237f7226837758e1b041e24048ef3820d3d10276c500edb921bf
13− - containers-0.5.11.0@sha256:28ad7337057442f75bc689315ab4ec7bdf5e6b2c39668f306672cecd82c02798
14−
15−flags:
16− idris:
17− FFI: true
18− GMP: true
19−
20−ghc-options:
21− idris: -fwarn-unused-imports -fwarn-unused-binds
22−
23−nix:
24− enable: false
25− shell-file: stack-shell.nix
stack.yaml+2−11
@@ -1,17 +1,8 @@
11#recheck extra-deps next on resolver or cabal file change
2−resolver: lts-13.21
2+resolver: lts-15.3
33
44extra-deps:
5− - network-2.8.0.0@sha256:aae171e6c6028a7791dbe4de5b9d2da398056359e3cc7927465ffa3cdae1aa0b
6− - megaparsec-7.0.4
7− - parser-combinators-1.0.0
8− - zip-archive-0.3.3@sha256:47cf2d66cc8e237f7226837758e1b041e24048ef3820d3d10276c500edb921bf
9− - containers-0.5.11.0@sha256:28ad7337057442f75bc689315ab4ec7bdf5e6b2c39668f306672cecd82c02798
10− - tasty-rerun-1.1.14@sha256:ba9c19a281535bea566e1044bc02c36ef17abcb310af4b6a149ec11780c7ce35
11− - binary-0.8.7.0@sha256:ae3e6cca723ac55c54bbb3fa771bcf18142bc727afd57818e66d6ee6c8044f12
12− - text-1.2.4.0@sha256:8c24450feb8e3bbb7ea3e17af24ef57e85db077c4bf53e5bcc345b283d1b1d5b
13− - HsYAML-0.2.1.0@sha256:e4677daeba57f7a1e9a709a1f3022fe937336c91513e893166bd1f023f530d68,5311
14− - HsYAML-aeson-0.2.0.0@sha256:04796abfc01cffded83f37a10e6edba4f0c0a15d45bef44fc5bb4313d9c87757,1791
5+- cheapskate-0.1.1.2
156
167flags:
178 idris: