Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to fix potential compiler segfault in lookup.c #4191

Draft
wants to merge 54 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
527864d
Fix for crash involving the use of private types used as default values
stefandd Jul 27, 2022
0eae6ef
Revert "Fix for crash involving the use of private types used as defa…
stefandd Jul 27, 2022
7c18b7f
Fix for crash involving the use of private types used as default values
stefandd Jul 27, 2022
6391765
Adding test runner
stefandd Jul 27, 2022
5fd6c26
Create 4167.md
stefandd Jul 27, 2022
cb3b960
Update test/libponyc-run/private-type-as-default-argument-in-public-f…
stefandd Jul 28, 2022
323e371
Update 4167.md
stefandd Jul 30, 2022
08de6f7
Merge branch 'main' of https://github.com/stefandd/ponyc
stefandd Jul 30, 2022
a7c6399
Preliminary fix to segfault in Array's .to_copy()
stefandd Aug 6, 2022
262cdb8
Merge branch 'ponylang:main' into main
stefandd Aug 6, 2022
0f0afed
Update array.pony
stefandd Aug 6, 2022
200baea
Update array.pony
stefandd Aug 6, 2022
e4c5eae
Create 4173.md
stefandd Aug 6, 2022
43b1910
Replace runner test with builtin_test
stefandd Aug 6, 2022
dc2758e
Update .release-notes/4173.md
stefandd Aug 7, 2022
6145521
Update .release-notes/4173.md
stefandd Aug 7, 2022
79cfe22
Update .release-notes/4173.md
stefandd Aug 7, 2022
5d54c0b
Update .release-notes/4173.md
stefandd Aug 7, 2022
fca55f3
Update .release-notes/4173.md
stefandd Aug 7, 2022
20bd478
Update .release-notes/4173.md
stefandd Aug 7, 2022
9646618
Update .release-notes/4173.md
stefandd Aug 7, 2022
6d19d5a
Update .release-notes/4173.md
stefandd Aug 7, 2022
d3a9a70
Update .release-notes/4173.md
stefandd Aug 7, 2022
3e80b98
Update packages/builtin_test/_test.pony
stefandd Aug 7, 2022
4a8b13a
Update packages/builtin_test/_test.pony
stefandd Aug 7, 2022
1545c6e
Update packages/builtin_test/_test.pony
stefandd Aug 7, 2022
882059c
Update packages/builtin_test/_test.pony
stefandd Aug 7, 2022
533fb92
Update packages/builtin_test/_test.pony
stefandd Aug 7, 2022
65be1ce
Update packages/builtin_test/_test.pony
stefandd Aug 7, 2022
136ff80
Update packages/builtin_test/_test.pony
stefandd Aug 7, 2022
9ee68fa
Update _test.pony
stefandd Aug 7, 2022
12d54c9
Adjust the fix to work for both uninitialized and empty arrays + Test…
stefandd Aug 7, 2022
b929676
Update array.pony
stefandd Aug 7, 2022
e473f72
Update packages/builtin_test/_test.pony
stefandd Aug 7, 2022
bed272f
Update packages/builtin_test/_test.pony
stefandd Aug 7, 2022
7daa238
Update _test.pony
stefandd Aug 7, 2022
19bc608
Merge branch 'main' of https://github.com/stefandd/ponyc
stefandd Aug 7, 2022
30e47db
Update array.pony
stefandd Aug 7, 2022
e2fa066
Update _test.pony
stefandd Aug 7, 2022
0d9099d
Delete 4167.md
stefandd Aug 7, 2022
e83ea4c
Update _test.pony
stefandd Aug 7, 2022
1e2448c
Update array.pony
stefandd Aug 7, 2022
6c9b5ee
Update _test.pony
stefandd Aug 9, 2022
5f763f6
Update 4173.md
stefandd Aug 11, 2022
4ff03ba
Merge branch 'ponylang:main' into main
stefandd Aug 17, 2022
c3ca05b
Further update to array.pony to fix #4174
stefandd Aug 17, 2022
f70d7b9
Update 4173.md
stefandd Aug 22, 2022
3c99979
Update array.pony
stefandd Aug 22, 2022
111189d
Merge branch 'ponylang:main' into main
stefandd Aug 26, 2022
5b1542d
Attempt to fix #4153
stefandd Sep 18, 2022
9f4f271
Update reach.c
stefandd Sep 18, 2022
bb41b02
Update reach.c
stefandd Sep 19, 2022
24cf1ef
Update genmatch.c
stefandd Sep 19, 2022
759b525
Merge branch 'main' of https://github.com/stefandd/ponyc
stefandd Sep 23, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update packages/builtin_test/_test.pony
Co-authored-by: Sean T Allen <[email protected]>
stefandd and SeanTAllen authored Aug 7, 2022
commit 136ff80e2413e566630e97187c4fda6de1e06308
13 changes: 13 additions & 0 deletions packages/builtin_test/_test.pony
Original file line number Diff line number Diff line change
@@ -1775,6 +1775,19 @@ class \nodoc\ iso _TestArrayCopyTo is UnitTest
src1.copy_to(dest1, 0, 0, 10)
h.assert_array_eq[U8]([0; 1; 2; 3; 4; 5; 6], dest1)

// Test that copying from an empty source array leaves
// the destination unchanged
try
// create an initialized array and then remove it's only element
// leaving it empty
let src2: Array[U8] = [1]
src2.pop()?
let dest2: Array[U8] = [0; 1; 2; 3; 4; 5; 6]
src2.copy_to(dest2, 0, 0, 10)
end

h.assert_array_eq([0; 1; 2; 3; 4; 5; 6], dest2)

class \nodoc\ iso _TestMath128 is UnitTest
"""
Test 128 bit integer math.