1
1
mirror of https://github.com/tweag/nickel.git synced 2024-11-10 10:46:49 +03:00
Commit Graph

1009 Commits

Author SHA1 Message Date
Yann Hamdaoui
79aab9214d Migrate remaining failure tests from Program 2021-03-08 12:57:39 +01:00
Yann Hamdaoui
9a61b78775 Get rid of old syntax Assume/Default/.. 2021-03-08 12:57:39 +01:00
Yann Hamdaoui
c3442189b5 Move typecheck tests expected to fail to tests/ 2021-03-08 12:57:39 +01:00
Yann Hamdaoui
2e4cb2eae0 Move contract tests expecting failure to tests 2021-03-08 12:57:39 +01:00
Rok Garbas
d7cf9f3886
Merge pull request #310 from tweag/task/ghactions-macos
Fix build on MacOS, add MacOS to tested platforms
2021-03-04 16:05:26 +01:00
Yann Hamdaoui
69de683203 Fix typo in comments 2021-03-03 18:46:18 +01:00
Yann Hamdaoui
fdc6d64313 Allow chained records op as application arguments 2021-03-03 18:24:43 +01:00
Yann Hamdaoui
c1f1bdbed0 Fix target system in GH actions 2021-03-03 17:28:37 +01:00
Yann Hamdaoui
b53e311149 Fix typo in flake.nix 2021-03-03 14:07:05 +01:00
Eelco Dolstra
04cafbf79c
Merge remote-tracking branch 'origin/task/integers-serialization' 2021-03-03 13:57:09 +01:00
Yann Hamdaoui
5e5198da34 Serialize num as integers whenever possible 2021-03-03 13:21:15 +01:00
Yann Hamdaoui
aa4487f77e Add missing Security input for MacOS 2021-03-03 11:11:48 +01:00
Yann Hamdaoui
561a2a711a Test on MacOS in GitHub actions 2021-03-03 11:11:36 +01:00
Eelco Dolstra
6be511ee59
Merge remote-tracking branch 'origin/feature/contracts-error-reporting' 2021-03-03 10:44:17 +01:00
Eelco Dolstra
95678fe6c6
Merge pull request #301 from tweag/task/fill-position-information
Fill inherited position of evaluated terms
2021-03-03 10:34:30 +01:00
Eelco Dolstra
3ecf1dd159
Merge pull request #300 from tweag/task/better-position-information
Improve position information
2021-03-03 10:33:58 +01:00
Yann Hamdaoui
518716cd34
Merge pull request #306 from tweag/task/test-suite
Migrate passing tests to standalone nickel files
2021-03-02 17:04:32 +00:00
Yann Hamdaoui
4b9e7973cf Formatting 2021-03-02 17:40:44 +01:00
Yann Hamdaoui
eae42a6c32 Fix tests for new syntax 2021-03-02 17:26:07 +01:00
Yann Hamdaoui
a9de19682c Remove moved serialize tests 2021-03-02 17:25:42 +01:00
Yann Hamdaoui
11dff538de Fix incomplete moving ExportFormat from main to serialize 2021-03-02 17:25:18 +01:00
Yann Hamdaoui
519c2a7aad Moving serialize tests to testsuite 2021-03-02 17:24:18 +01:00
Yann Hamdaoui
f6a40a90a3 Check each file in a separate test 2021-03-02 16:53:54 +01:00
Yann Hamdaoui
94124d0f40 Formatting 2021-03-02 16:53:54 +01:00
Yann Hamdaoui
5519d6ec3d Remove redundant tests in typecheck 2021-03-02 16:53:51 +01:00
Yann Hamdaoui
1d76120df2 Remove redundant tests from program 2021-03-02 16:53:15 +01:00
Yann Hamdaoui
4eb581a3e4 Implement passing tests, reorganize tests dir 2021-03-02 16:51:53 +01:00
Yann Hamdaoui
a3783545d2 Turn the crate into a library 2021-03-02 16:51:50 +01:00
Yann Hamdaoui
e1f4c48481 Migrate passing tests to dedicated files 2021-03-02 16:50:30 +01:00
Yann Hamdaoui
3dd6c01cd0 Fix position information when evaluating contract 2021-03-02 15:42:33 +01:00
Yann Hamdaoui
c24140331d Improve blame error msg using tracked args 2021-03-02 15:42:33 +01:00
Yann Hamdaoui
a8a58ee4e7 Contract: implement tracked args, use applyContract 2021-03-02 15:42:33 +01:00
Yann Hamdaoui
8f930fe722 Implement applyContract operator 2021-03-02 15:42:33 +01:00
Yann Hamdaoui
8d99259bc7 Fix compilation 2021-03-02 15:41:04 +01:00
Yann Hamdaoui
2ea6eeb8f1 Fill inherited position in hash & serialize 2021-03-02 15:36:45 +01:00
Yann Hamdaoui
f0ae4cabe0 Remove inutile function 2021-03-02 15:36:45 +01:00
Yann Hamdaoui
b61437d321 Fill the inherited position of evaluated term 2021-03-02 15:36:45 +01:00
Yann Hamdaoui
c2eafe2b90 Remove unneeded clone() calls 2021-03-02 15:36:45 +01:00
Yann Hamdaoui
ef9d40a346 Fix errors + implement clippy's suggestion 2021-03-02 15:32:17 +01:00
Yann Hamdaoui
e15ade8ec5 Formatting 2021-03-02 15:27:53 +01:00
Yann Hamdaoui
936bc25fe1 Fix compilation 2021-03-02 15:26:16 +01:00
Yann Hamdaoui
bac91cf938 Remove unneeded clone() calls 2021-03-02 15:26:16 +01:00
Yann Hamdaoui
33eb8c3e6a Use a more precise position type 2021-03-02 15:26:14 +01:00
Eelco Dolstra
cc73302f7a
Merge remote-tracking branch 'origin/fix/missing-neq-op' 2021-03-02 13:42:49 +01:00
Eelco Dolstra
1553e390d6
Merge remote-tracking branch 'origin/feature/record-definition-by-pieces' 2021-03-02 13:33:02 +01:00
Eelco Dolstra
6b45cc4588
Merge remote-tracking branch 'origin/feature/null' 2021-03-02 13:30:10 +01:00
Yann Hamdaoui
6e4a426dc4 Do not propagate (presumably) useless position information parsing != 2021-03-01 18:47:15 +01:00
Yann Hamdaoui
91650792e1 Fix validation for serialize() 2021-03-01 11:04:53 +01:00
Yann Hamdaoui
54644833da Fix equality on null 2021-03-01 11:00:32 +01:00
Yann Hamdaoui
7f4b7c2040 Add the null value 2021-03-01 11:00:32 +01:00