Mathew Polzin
23e3695d74
Add test for auto implicit case splitting.
2022-08-16 09:23:19 +02:00
Steve Dunham
f4dc7f4221
Merge branch 'main' into issue-2557
2022-08-03 07:13:04 -07: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
Stefan Höck
5a962929e7
[ fix ] issue 2537 ( #2538 )
...
Co-authored-by: Zoe Stafford <zoepolarsax@gmail.com>
2022-07-07 09:54:52 +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
Steve Dunham
0454dfd66a
Address issue #2557 Incremental compilation is used when .so files are missing.
2022-06-25 19:56:56 -07:00
Guillaume Allais
e5802204b6
[ fix ] holes in record types
2022-06-17 10:17:40 +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
Zoe Stafford
932a24baa1
Revert "make depends
collect all transitive dependencies ( #2469 )"
...
This reverts commit fde6269c7e
.
2022-05-21 06:49:07 +01:00
Zoe Stafford
fde6269c7e
make depends
collect all transitive dependencies ( #2469 )
...
* 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
2022-05-20 16:20:54 +01:00
G. Allais
f80fc184e3
[ new ] :exec
for RefC ( #2466 )
2022-05-10 15:09:53 +01:00
Jesse Nava
db13a35bf5
[ fix ] Ensure casting from String to Double results in floating numbers on scheme backends
2022-05-09 18:36:17 +01:00
G. Allais
4256cd15fd
[ highlighting ] case trees in :di
( #2440 )
2022-04-29 12:52:23 +01:00
Steve Dunham
04e65529f6
Better parse error for missing paren after with
2022-04-29 08:59:40 +01:00
Guillaume Allais
81ba322a4b
Revert "[ fix ] search should solve auto implicits before implicits"
...
This reverts commit 6dd68e8924
.
because of issue #2437
2022-04-27 11:00:51 +01:00
Guillaume Allais
6dd68e8924
[ fix ] search should solve auto implicits before implicits
2022-04-26 15:07:51 +01:00
Guillaume Allais
0986cf177b
[ parse ] better error message for list literals
...
I got fed up with being puzzled whenever edwin's trailing commas
and my leading commas clash and the error location is the opening
square bracket rather than the repeated comma.
2022-04-15 11:33:20 +01:00
Guillaume Allais
e0f5f541e2
[ fix #2402 ] Check totality before exiting failing block
2022-04-08 13:21:46 +01:00
Guillaume Allais
55d6c50706
[ fix ] make 'failing' whitespace-insentitive
2022-04-07 13:59:27 +01:00
G. Allais
79e733b848
[ new ] multi-with elaborated as nested withs ( #2403 )
2022-04-07 09:30:23 +01:00
Thomas E. Hansen
a644a85a57
[ base ] public export
quantifier functions
2022-04-04 13:24:12 +02:00
G. Allais
4b6936d615
[ fix ] allow refined implicit patterns in with clauses ( #2393 )
2022-04-03 10:45:29 +01:00
Guillaume Allais
ad78457869
[ fix ] location information in with clauses
2022-04-01 11:41:48 +01:00
Guillaume Allais
bc9a319ddf
[ parser ] bunched args in implementation implicits
2022-03-31 15:46:44 +01:00
Denis Buzdalov
2538b1e82b
[ syntax ] Require indent for blocks like mutual
and failing
( #2387 )
2022-03-31 12:54:38 +01:00
Guillaume Allais
921d3b7b50
[ parser ] better error messages for Haskellers
2022-03-31 10:43:46 +01:00
Zoe Stafford
8c7fc581c6
Fix prim__div_Double
on Node/js backend
...
problem was found by @kuruczgy on the idris discord
Also add tests
2022-03-26 19:00:46 +00:00
G. Allais
35b2362487
[ new ] failing blocks ( #2360 )
2022-03-23 12:01:13 +00:00
Guillaume Allais
14f2196d15
[ doc ] return module header docs
2022-03-09 13:31:30 +00:00
G. Allais
1c396744d9
[ doc ] :printdef
for interface implementations ( #2340 )
2022-03-07 11:47:20 +00:00
Jan de Muijnck-Hughes
4ba3bb6670
[ fix ] Literate things ( #2312 )
...
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
2022-02-18 11:29:52 +00:00
Balazs Komuves
3345460fe9
[ fix #2176 ] Records in where-blocks are in the wrong namespace ( #2187 )
2022-02-16 15:43:50 +00:00
Guillaume Allais
bec4a0a88e
[ re #499 ] quantity-aware with-clauses
2022-02-09 09:19:40 +00:00
Stefan Höck
f1d56a4e0f
[ syntax ] Namespaced idiom brackets ( #2284 )
2022-01-24 16:18:36 +00:00
Mathew Polzin
35a84e505d
[ fix #2033 ] determining when to rebuild modules ( #2188 )
2022-01-21 10:26:20 +00:00
Mathew Polzin
e7ed760016
[ new ] optional language version field to ipkg files. ( #2256 )
2022-01-20 10:05:53 +00:00
Jason Dagit
1d7207fe05
[ fix #2202 ] Use SnocList in parser state to avoid quadratic slowdown ( #2203 )
...
Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2022-01-11 16:06:19 +00:00
Steven Dunham
e8660cab97
[ tests ] Add test case for #2243
2022-01-07 21:53:46 -08:00
alissa-tung
158cb1c75e
[ nodejs ] pid
2021-12-22 22:25:21 +08:00
teggot
d3aed0404c
[ fix #1959 ] use modern record update syntax ( #2196 )
2021-12-16 18:23:18 +00:00
Balazs Komuves
6cc20a9974
[ fix #2138 ] Add an %unhide pragma ( #2181 )
...
* add %unhide pragma
* add a test case
* clean up
* more consistent English usage (+fix some typos)
* add a warning for unhiding not-already-hidden names
* move `unhide` (and `hide`) to the bottom of the source file to avoid having to forward-declare `recordWarning`
2021-12-11 18:03:36 -08:00
Balazs Komuves
c3ec522077
[ fix #1404 ] Totality annotation for data type definitions ( #2179 )
...
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
Co-authored-by: stefan-hoeck <hock@zhaw.ch>
2021-12-08 16:08:26 +00:00
Balazs Komuves
e511bc6884
[ fix #2098 ] Allow unclosed comment blocks ( #2173 )
2021-12-07 15:46:38 +00:00
Balazs Komuves
5e775aaa41
[ fix #1945 ] Add default
support for record fields ( #2175 )
2021-12-06 21:21:42 +00:00
Balazs Komuves
3f3912e934
[ fix #2065 ] Use postfix projections if prefix ones are off ( #2169 )
2021-12-06 18:14:13 +00:00