Commit Graph

11489 Commits

Author SHA1 Message Date
Brendan Hansknecht
55f0329e5c Merge remote-tracking branch 'origin/trunk' into gen-dev/remove-results 2021-11-27 16:57:00 -08:00
Brendan Hansknecht
ddf8283cfd
Merge pull request #2092 from rtfeldman/update-niv
update nix dependencies to get newer rustc
2021-11-27 16:52:50 -08:00
Brendan Hansknecht
a63dd1eb61 use unimplemented! and internal_error! instead of result in dev backend 2021-11-27 12:38:29 -08:00
Brendan Hansknecht
dd1245dee6 update nix dependencies to get newer rustc 2021-11-27 09:56:16 -08:00
Brendan Hansknecht
57d9ce3fdd
Merge pull request #2043 from rtfeldman/dev-backend-num-is-zero
add x86_64 Int is zero support for gen_dev
2021-11-27 09:53:59 -08:00
Folkert
3d1035a11f fix bug with lists and * type variables 2021-11-27 16:57:50 +01:00
Folkert de Vries
efe07ea4e1
Merge pull request #2090 from rtfeldman/joshuawarner32/fix-remove-spaces-oversights
Fix a few places non-0 Located slipped by RemoveSpaces
2021-11-27 16:48:53 +01:00
Folkert
79d5c82dfb cleanup 2021-11-27 16:36:43 +01:00
Joshua Warner
54317f4c0c Fix a few places non-0 Located slipped by RemoveSpaces 2021-11-27 07:15:05 -08:00
Folkert de Vries
d0da22edfa
Merge pull request #2089 from rtfeldman/joshuawarner32/fix-backpassing-formatting
Fix formatting of applies in backpassing
2021-11-27 15:46:10 +01:00
Joshua Warner
02b51bcd37 Fix formatting of applies in backpassing 2021-11-27 06:15:48 -08:00
Folkert
a1fd34feef remove empty layout types (list,str,dict,set) 2021-11-27 14:05:16 +01:00
Richard Feldman
b96d95ab1b
Merge pull request #2088 from rtfeldman/joshuawarner32/fix-unary-parens-formatting
Make sure unary operators around function calls get parens
2021-11-27 01:48:15 -05:00
Joshua Warner
e9d22699ed Make sure unary operators around function calls get parens 2021-11-26 20:01:45 -08:00
Richard Feldman
d39ecfd12d
Merge pull request #2052 from rtfeldman/i/1931-2
Some improvements to error messages regarding unbound type variables
2021-11-26 21:17:37 -05:00
Richard Feldman
5e0f2d93f0
Merge pull request #2087 from rtfeldman/joshuawarner32/improve-formatter-error-messages
Improve formatting of formatter error messages
2021-11-26 21:16:50 -05:00
Richard Feldman
71fbc4c8da
Merge pull request #2084 from rtfeldman/str-concat-segfault
Str concat segfault
2021-11-26 21:09:46 -05:00
Richard Feldman
262f1600d4
Merge pull request #2086 from rtfeldman/solve-unify-allocation
Type checking allocation tweaks
2021-11-26 21:09:05 -05:00
Joshua Warner
16cf95cf6e Improve formatting of formatter error messages, and also write out the invalidly formatted file separately 2021-11-26 17:18:11 -08:00
Folkert de Vries
29c058ee08
Merge pull request #2085 from rtfeldman/set-refcounting-bugfix
Fix a bug in LLVM backend refcounting
2021-11-27 02:10:05 +01:00
Folkert
6934e69240 make deep_copy_var_to allocate less 2021-11-27 02:09:08 +01:00
Folkert
ed455777a2 give deep_copy_var_to a scratchpad 2021-11-27 01:42:11 +01:00
Folkert
471593ea31 make deep_copy_var use scratchpad arena 2021-11-27 01:32:47 +01:00
Folkert
2d0d54e13e try stack allocation for small vectors 2021-11-27 01:31:48 +01:00
Brian Carroll
a9456639c7 Fix a bug in LLVM backend refcounting 2021-11-27 00:10:54 +00:00
Folkert de Vries
0a58d6e60e
Merge pull request #2082 from rtfeldman/joshuawarner32/assert-formatting-preserves-ast
Verify ast matches before/after formatting
2021-11-27 00:44:36 +01:00
Richard Feldman
74b8076bab
Merge pull request #2081 from rtfeldman/joshuawarner32/private-tag-fmt
Fix formatting of private tags
2021-11-26 18:03:31 -05:00
Richard Feldman
e2e095eb69
Merge pull request #2079 from rtfeldman/joshuawarner32/type-apply-package-name-fmt
Fix formatting in the presence of a pkg name in TypeAnnotation::Apply
2021-11-26 18:02:51 -05:00
Folkert
c925613cdc swap argument order 2021-11-26 23:16:47 +01:00
Joshua Warner
2547c2ef47 Add comment 2021-11-26 14:03:49 -08:00
Joshua Warner
08c1317cf8 Verify ast matches before/after formatting 2021-11-26 14:00:36 -08:00
Joshua Warner
32a8222a37 Add test for formatting package type in TypeAnnotation::Apply 2021-11-26 13:58:17 -08:00
Joshua Warner
799e340c01 Fix formatting of private tags 2021-11-26 13:50:12 -08:00
Folkert
b873cb0e01 update hello zig platform 2021-11-26 22:48:22 +01:00
Folkert
48368f4fba fix imports 2021-11-26 22:33:10 +01:00
Richard Feldman
8d668514e4
Merge pull request #2080 from rtfeldman/joshuawarner32/if-else-fmt
Fix formatting of if/else chains
2021-11-26 15:46:18 -05:00
Folkert
a3b3f5e970 Merge remote-tracking branch 'origin/trunk' into layout-soa 2021-11-26 21:41:25 +01:00
Folkert
6c1f3eedb7 dict and set layouts 2021-11-26 21:39:36 +01:00
Richard Feldman
837e0929bc
Merge pull request #2078 from rtfeldman/joshuawarner32/fix-newline-indent
Fix indent formatting in Def::AnnotatedBody
2021-11-26 15:38:54 -05:00
Folkert
047514bf39 flesh out FunctionLayout and LambdaSet 2021-11-26 20:55:12 +01:00
Joshua Warner
a7e4861956 Fix formatting of if/else chains 2021-11-26 11:03:45 -08:00
Joshua Warner
08e8b93bb6 Fix formatting in the presence of a package name in TypeAnnotation::Apply 2021-11-26 11:03:01 -08:00
Joshua Warner
27b83650ba Fix indent formatting in Def::AnnotatedBody 2021-11-26 10:21:38 -08:00
Richard Feldman
2939780638
Merge pull request #2076 from rtfeldman/variable-subs-slice
Variable subs slice cleanup
2021-11-26 07:38:27 -05:00
Folkert de Vries
9638825761
Merge pull request #2075 from rtfeldman/joshuawarner32/impl-platform-header-formatting
Implement platform header formatting
2021-11-26 13:05:40 +01:00
Folkert
891c879439 most of the conversion 2021-11-25 23:27:59 +01:00
Folkert
b8eed51611 first attempt at layout soa 2021-11-25 22:09:20 +01:00
Folkert
b4f21930bb cleanup 2021-11-25 20:49:44 +01:00
Folkert
612f868652 make VariableSubsSlice an alias 2021-11-25 20:29:34 +01:00
Folkert
69a80872e1 rename start -> index 2021-11-25 19:46:05 +01:00