Commit Graph

3569 Commits

Author SHA1 Message Date
Richard Feldman
e82b6d6676
Merge pull request #416 from rtfeldman/fix-parse-bug
Fix pattern parsing bug
2020-07-17 20:36:23 -04:00
Richard Feldman
f39b194d45 Update tests for new pattern regions 2020-07-17 19:49:27 -04:00
Richard Feldman
152e06186b Reserved keywords can't be patterns 2020-07-17 19:49:27 -04:00
Richard Feldman
ef010d4dec Fix parsing bug for malformed when-branches 2020-07-17 19:49:27 -04:00
Richard Feldman
6855c85002 Reproduce parsing bug with bad when-branches 2020-07-17 19:33:27 -04:00
Folkert
d27dcceef2 use index-based approach for Apply 2020-07-18 01:23:35 +02:00
Folkert
25329ad672 get rid of Container 2020-07-18 00:57:27 +02:00
Folkert
ce8bcbb5ed introduce Record and Apply Update and Access 2020-07-18 00:52:22 +02:00
Folkert
6e7ec8cd2c fix other test failures 2020-07-18 00:18:55 +02:00
Folkert
706a2f3986 Merge remote-tracking branch 'origin/trunk' into report-record-update 2020-07-17 23:51:37 +02:00
Folkert
0459572940 use different mechanism to special-case builtins in usage analysis
this will be extendible to user-defined functions
2020-07-17 23:50:33 +02:00
Folkert
88ca25e7ee move get_shared function to collections 2020-07-17 23:49:43 +02:00
Richard Feldman
ad3c4207ba Expand on some comments 2020-07-16 21:11:57 -04:00
Richard Feldman
7a6625e979
Merge pull request #414 from rtfeldman/fix-quicksort
Fix monomorphization regressions from RunLowLevel
2020-07-16 20:16:28 -04:00
Richard Feldman
3d9dba251e Fix new Rust 1.45 clippy warning 2020-07-16 19:48:58 -04:00
Richard Feldman
2925706570
Merge branch 'trunk' into fix-quicksort 2020-07-16 19:46:19 -04:00
Richard Feldman
9c6b6f7e25 Silence a few clippy warnings
The map_entry one is important; it seems there's no way to write this
using entry where it's actually correct.
2020-07-16 19:30:30 -04:00
Richard Feldman
153eb4f804 Follow clippy's advice 2020-07-16 19:28:38 -04:00
Richard Feldman
2babe67998 Fix stack overflow in monomorphization 2020-07-16 19:28:25 -04:00
Richard Feldman
fb8ff03670 Clarify a comment 2020-07-15 20:58:50 -04:00
Richard Feldman
fcdb300a03 Improve runtime error message 2020-07-15 20:58:36 -04:00
Richard Feldman
730755a951 Only push pattern_vars when pushing args 2020-07-15 20:58:18 -04:00
Richard Feldman
bd8480284f Report the first runtime error among multiple 2020-07-15 20:57:46 -04:00
Chad Stearns
c9869e67c1 Regress to functional first loop, and no second loop 2020-07-14 22:05:55 -04:00
Chad Stearns
a5462b1043 Second loop in List append (non-functional) 2020-07-14 21:50:35 -04:00
Richard Feldman
c717485079
Merge pull request #413 from rtfeldman/report-record-update
Report record update & unknown module
2020-07-14 20:00:30 -04:00
Folkert
331a8ed5eb error message for record update and missing module 2020-07-14 23:37:19 +02:00
Folkert
27317110f2 add comment describing solving process 2020-07-14 23:13:37 +02:00
Richard Feldman
764eda0780 Fix anonymous function specialization 2020-07-12 23:53:58 -04:00
Richard Feldman
2318384740 Revert "Drop unnecessary specialization"
This reverts commit ff7429cab4.
2020-07-12 23:44:05 -04:00
Richard Feldman
c6a0970b73 Defer specialization by one level only 2020-07-12 23:43:55 -04:00
Richard Feldman
ff7429cab4 Drop unnecessary specialization 2020-07-12 23:39:55 -04:00
Richard Feldman
0ab655fda4 Fix another test 2020-07-12 23:02:31 -04:00
Richard Feldman
5e687cc71c Fix a test 2020-07-12 22:58:52 -04:00
Richard Feldman
5f86ac1d10 Never use the specialization queue, for now 2020-07-12 22:53:03 -04:00
Richard Feldman
c2bc98ea4b Only use pending specializations for other modules 2020-07-12 22:53:03 -04:00
Richard Feldman
0b6053e2f6 Reproduce some more type checking bugs 2020-07-12 22:53:03 -04:00
Richard Feldman
5fe30be9f5 s/negate/neg 2020-07-12 22:53:03 -04:00
Richard Feldman
b8a9a3ef42 Account for return types being different in the uniqueness case 2020-07-12 22:53:03 -04:00
Richard Feldman
814ca7c7cc Format some comments 2020-07-12 22:53:03 -04:00
Richard Feldman
a356e8a0f7 Add uniqueness types for List.first 2020-07-12 22:53:03 -04:00
Richard Feldman
e4915985f7 Re-disable first_empty_list 2020-07-12 22:53:03 -04:00
Richard Feldman
71d87e5772 Revert "Add build_trap"
This reverts commit a43903ab1b088ba82f475f12460a05c706a1bf4e.
2020-07-12 22:53:03 -04:00
Richard Feldman
dd1cc5d24e Revert "Try having build_expr return Either"
This reverts commit 2f065f05892fdc188cfdd8f42e878bebe79879cf.
2020-07-12 22:53:03 -04:00
Richard Feldman
70ceaac9ff Try having build_expr return Either 2020-07-12 22:53:03 -04:00
Richard Feldman
7aaf37f4d1 Add build_trap 2020-07-12 22:53:03 -04:00
Richard Feldman
7c0359c6bf Revert "(REVERT THIS!) Temporarily disable some tests"
This reverts commit 0ed1892329.
2020-07-12 22:53:03 -04:00
Richard Feldman
37541370e7
Merge pull request #412 from rtfeldman/list-reverse-check-layout-first
Switched order of checking layout and list length for list reverse
2020-07-12 22:20:08 -04:00
Chad Stearns
1221ef3c76 Switched order of checking layout and list length for list reverse implementation 2020-07-12 17:11:26 -04:00
Chad Stearns
f807947ce4 Merging in remote, implemented basics of List append in many modules 2020-07-12 14:35:22 -04:00