G. Allais
51d00638b0
[ cosmetic ] Say when you start compiling the executable ( #2714 )
2022-10-14 16:21:19 +01:00
G. Allais
30866fa892
[ new ] do not split on dotted patterns ( #2706 )
2022-10-14 16:21:06 +01:00
Steve Dunham
b15be4a70a
[ new ] Allow forward declarations of records
2022-10-14 14:58:29 +01:00
CodingCellist
bb602643b1
[ fix #2712 ] Don't consider CyclicMeta
recoverable ( #2713 )
2022-10-14 14:57:55 +01:00
Thomas E. Hansen
6823915dd0
[ tests ] Check REPL help text and module import cmds
...
The help text check is for making sure we update it when modifying
things, more than anything else.
2022-10-13 11:31:05 +02:00
Denis Buzdalov
3ca065b85d
[ fix #2088 ] Make %runElab
expression propagate its rig to check
2022-10-07 10:55:22 +02:00
G. Allais
1f3809c49a
[ re #2675 ] Do not build libs/{contribs,papers} during bootstrap ( #2677 )
...
Co-authored-by: Ben Hormann <benhormann@users.noreply.github.com>
2022-10-04 13:37:45 +01:00
Steve Dunham
f03f184af9
[ parse ] Add fc to IPragma for better error messages
2022-09-25 16:09:53 +01:00
Guillaume Allais
5631608782
[ base ] deriving Foldable
2022-09-24 10:20:25 +01:00
CodingCellist
7f0dad21f8
[ debug ] Log when stuck because fn out of scope ( #2673 )
...
Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2022-09-22 13:12:47 +01:00
Guillaume Allais
2adc3319f6
[ parse ] better error messages for records
2022-09-22 12:25:20 +01:00
Steve Dunham
1142f73e05
Add indentation checks when parsing args in implDecl
2022-09-20 23:57:54 +01:00
Steve Dunham
03d6c5f637
[ new ] Handle forward declarations of implementations ( #2668 )
...
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
2022-09-20 21:08:50 +01:00
Steve Dunham
669f49e23e
[ parser ] Make commitKeyword fail fatally
2022-09-16 11:39:53 +01:00
G. Allais
55926f30c5
[ fix #2655 ] Add support for DataOpts in records ( #2658 )
2022-09-14 14:57:04 +01:00
Zoe Stafford
02dfd6ff6c
Trans deps v3 ( #2584 )
...
* make `depends` collect all transitive dependencies
This happens by installing the (modified) ipkg file along with ttc files
* [ fix ] parsing a package shouldn't always set sourceDir
* linter *sigh*
* Fix test, add changelog
`asDepends` has been changed to `setSrc` as that is for me more intuitive
in idris2/pkg006 the version field was removed from the ipkgs of bar-baz and quux
as idris now expects the version to match the folder
idris2/pkg010 explicitly disables incremental compilation, to prevent extra log info
* (hopefully) fix idris2/pkg13 test on windows
* Actually install the version
This should make things start working
* [ fix ] use backtracking to resolve transitive dependencies
* [ fix ] use backtracking to resolve dependencies
* [ fix ] test pkg006
* Fix missing import
Co-authored-by: stefan-hoeck <hock@zhaw.ch>
2022-09-09 07:08:39 +01:00
Zoe Stafford
a001333947
Warning for shadowed local bindings ( #2623 )
...
* Warning for shadowed local bindings
* [ lint ]
* Remove name shadowing in compiler src
* [ fix ] spelling & test cases
Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2022-09-07 20:59:28 +01:00
Steve Dunham
9646b31f2b
[ test ] Fix timing issue in interactive045 test
2022-09-06 10:05:34 +01:00
G. Allais
ece1198074
[ fix #1742 ] Do not use uppercase names as pattern variables ( #2642 )
2022-09-05 12:45:51 +01:00
Steve Dunham
351b5ba720
[ parser ] Fix issue where Alt drops incoming commit tag
2022-09-05 12:44:02 +01:00
Steve Dunham
2e45902048
[ parser ] Better error messages inside if statements.
2022-09-05 12:44:02 +01:00
Steve Dunham
150673622b
[ test ] Add a sleep 1 to the interactive044 test to work around a race condition
2022-09-04 09:17:22 +01:00
Guillaume Allais
f678043854
[ test ] add tricky test case ported from Agda
2022-09-02 16:06:40 +01:00
Guillaume Allais
552f27f813
[ fix #2640 ] Do not shadow function name during case split
2022-09-02 11:55:15 +01:00
Guillaume Allais
6891490ed2
[ fix ] support for implicits in Deriving.Functor
...
A lot of refactoring to bring these. That's hopefully the last
feature that was needed...
2022-08-29 18:35:24 +01:00
Mathew Polzin
23e3695d74
Add test for auto implicit case splitting.
2022-08-16 09:23:19 +02:00
Guillaume Allais
4672305fc3
[ fix ] more filtering of invalid datatypes
2022-08-13 11:29:19 +01:00
Justus Matthiesen
a30209d492
[ fix ] Remove stray ")" in Show instance for Term ( #2611 )
2022-08-08 15:24:07 +01:00
G. Allais
84a504738c
[ doc ] add comments to generated javascript ( #2594 )
2022-07-18 17:30:56 +01:00
Guillaume Allais
8ecb1aaf95
Revert "Fix issue with case inside a type."
...
This reverts commit 50ca28c068
.
2022-07-18 15:58:29 +01:00
Steve Dunham
50ca28c068
Fix issue with case inside a type.
2022-07-18 14:17:14 +01:00
G. Allais
0cbbf97b79
[ new ] extend Deriving.Functor to (non-strictly) positive functors ( #2591 )
2022-07-18 14:10:46 +01:00
G. Allais
1f41c8b44d
[ close #647 ] Already fixed ( #2581 )
2022-07-08 14:16:25 +01:00
Guillaume Allais
ac2ef882f6
[ fix #2573 ] Solve constraints before looking at eq type
2022-07-07 20:36:05 +01:00
Guillaume Allais
19bc798952
[ re #2526 ] Update golden value
2022-07-07 20:34:54 +01:00
Guillaume Allais
d19dbfffff
[ fix #2229 ] better warning
2022-07-07 16:42:34 +01:00
G. Allais
4874bf2114
[ fix ] handle implicit arguments in Deriving.Functor ( #2572 )
2022-07-07 09:55:13 +01:00
Stefan Höck
5a962929e7
[ fix ] issue 2537 ( #2538 )
...
Co-authored-by: Zoe Stafford <zoepolarsax@gmail.com>
2022-07-07 09:54:52 +01:00
Guillaume Allais
7db20d38a3
[ cleanup ] Fewer assert_total in deriving Functor
2022-07-04 12:03:49 +01:00
G. Allais
aeeb338e6c
[ new ] deriving Functor ( #2568 )
2022-07-04 08:58:18 +01:00
Ruslan
dbba32ea09
Fix an eta issue in elaborator-reflection ( #2449 )
...
Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
Co-authored-by: Denis Buzdalov <public@buzden.ru>
2022-06-30 22:01:31 +01:00
G. Allais
4024857d20
[ base ] Various Language.Reflection
improvements ( #2554 )
2022-06-22 13:07:27 +01:00
Guillaume Allais
e5802204b6
[ fix ] holes in record types
2022-06-17 10:17:40 +01:00
Guillaume Allais
2060535d08
[ new ] name hints for primitive types
2022-06-14 16:07:37 +01:00
Guillaume Allais
7bd7f1da9c
[ fix ] resugaring of DPair
2022-06-08 22:44:55 +01:00
György Kurucz
79a2f677d4
[ re #1282 ] Improve unelaboration of case expressions
2022-06-08 17:01:36 +01:00
Zoe Stafford
b9001439b3
Revert "Transitive dependencies v2 ( #2496 )"
...
This reverts commit 51f952714d
.
2022-06-08 06:35:39 +01:00
Zoe Stafford
51f952714d
Transitive dependencies v2 ( #2496 )
...
* make `depends` collect all transitive dependencies
This happens by installing the (modified) ipkg file along with ttc files
* [ fix ] parsing a package shouldn't always set sourceDir
* linter *sigh*
* Fix test, add changelog
`asDepends` has been changed to `setSrc` as that is for me more intuitive
in idris2/pkg006 the version field was removed from the ipkgs of bar-baz and quux
as idris now expects the version to match the folder
idris2/pkg010 explicitly disables incremental compilation, to prevent extra log info
* (hopefully) fix idris2/pkg13 test on windows
* Actually install the version
This should make things start working
2022-06-07 14:31:14 +01:00
Denis Buzdalov
599027a893
[ fix ] Make able to interpret result of a macro as a function
2022-05-27 09:36:44 +01:00
G. Allais
607a2a2110
[ IDE ] refine command ( #2490 )
2022-05-25 11:29:03 +01:00