Commit Graph

  • 118f83f965 Fix crash when using uninstantiated generic (#22379) Jake Leahy 2023-08-04 20:21:36 +10:00
  • 72afd29a9a Remove declared and not used variable in packedsets.bitincl (#22334) Eric N. Vander Weele 2023-07-27 17:07:03 -04:00
  • 30921aaff5 Check try block for endsInNoReturn (#22314) SirOlaf 2023-07-22 21:13:55 +02:00
  • a3b65da80f Open scope for defer (#22315) SirOlaf 2023-07-22 19:09:39 +02:00
  • ba2d8ba468 fixes #22297; return in the finally in the closure iterators (#22300) ringabout 2023-07-22 12:37:27 +08:00
  • 0ac3461c7d Fix #22281 (#22289) Anna 2023-07-18 19:06:21 +05:00
  • e7fc94e130 gendepends now supports pkgs2 (#22277) ringabout 2023-07-14 18:40:24 +08:00
  • 44708f4b01 fixes #22237; fixes #21160; wrong cursor on unowned parameters in the for loop in ORC (#22240) ringabout 2023-07-10 16:31:13 +08:00
  • 7c7159f1f5 experiment: use quirky exceptions for the Nim compiler araq 2023-09-11 19:57:57 +02:00
  • 8f5b90f886 produce better code for object constructions and 'result' [backport] (#22668) Andreas Rumpf 2023-09-11 18:48:20 +02:00
  • 0e9250264b fix wrong import narimiran 2023-09-11 16:10:50 +02:00
  • 5ffd507014 Fix nimsuggest not showing suggestions for imported tuples (#22241) Jake Leahy 2023-07-10 16:34:10 +10:00
  • 322fc31041 fixes #22137 (#22170) Andreas Rumpf 2023-06-27 14:58:02 +02:00
  • 5ab9945345 fix Sigaction struct definition (#22160) Jacek Sieka 2023-06-27 10:09:04 +02:00
  • b0cee7c0c5 uint arithmetic for pointers (#22159) Jacek Sieka 2023-06-27 08:20:02 +02:00
  • 5e4648232b make var object match better than object (#22152) metagn 2023-06-25 17:52:16 +03:00
  • 3bd03d71a0 fixes #21110; duplicate proc definitions for inline iters (#21136) ringabout 2023-06-23 04:17:23 +08:00
  • 238efc025e fixes #21231; template with module as parameter elides usage/checking of module name specifier (#22109) ringabout 2023-06-21 22:30:55 +08:00
  • a66158dd3d fix #20023 hash for generic tables (#20346) Bung 2023-06-21 18:19:40 +08:00
  • 6863b5d289 strutils.split/rsplit now return src on an empty sep (#22136) Zoom 2023-06-21 06:52:33 +00:00
  • 9d573f4a1d fixes #16331; aliasing of tuple construction within a single assignme… (#22113) Andreas Rumpf 2023-06-16 20:59:59 +02:00
  • 070ecb036c fixes #22049; fixes #22054; implicit conversion keeps varness (#22097) ringabout 2023-06-16 18:06:50 +08:00
  • 107ec62baf consider object types as declarative in templates (#22106) metagn 2023-06-16 09:38:48 +03:00
  • 7e86cd6fa7 fixes #22680 Nim zero clear an object inherits C++ imported class when a proc return it (#22684) Juan M Gómez 2023-09-11 11:55:11 +01:00
  • ffcccd5986 clean up isNilConversion for seqs, strings (#22057) ringabout 2023-06-09 20:47:52 +08:00
  • c001b11320 Improve compiler messages (#22040) Juan Carlos 2023-06-07 19:09:09 -03:00
  • e4c13c3fd4 Improve compiler messages (#22028) Juan Carlos 2023-06-06 21:02:14 -03:00
  • 6b11a9ec28 fixes #15428 by updating deep open array copy codegen (#21935) heterodoxic 2023-05-27 15:27:42 +02:00
  • 173a15b370 fix #21251 Compiler SIGSEGV when using SharedTable (#21876) Bung 2023-05-23 15:39:44 +08:00
  • c4380107d6 Fixed generic parameters failing to be used in inheritance (#21866) Jason Beetham 2023-05-21 12:10:32 -06:00
  • 09fe696fdd disable yaml package testing narimiran 2023-09-11 12:01:38 +02:00
  • b1a8d6976f fixes the discVal register is used after free in vmgen (#22688) ringabout 2023-09-11 16:54:41 +08:00
  • 6fbff263e6 just set CallNodes = nnkCallKinds, follows up #21829 (#21833) metagn 2023-05-11 21:50:01 +03:00
  • fcaacbf374 cursor fields cannot form reference cycles (#21832) ringabout 2023-05-12 02:49:47 +08:00
  • 2d19520b5c Add nnkHiddenCallConv to nnkCallKinds (#21781) (#21829) Matt Wilson 2023-05-12 00:14:44 +12:00
  • 1cca8ccca0 Improve and refactor cellseqs_v2 in Nim standard library (#21796) Jordan Gillard 2023-05-09 14:33:35 -04:00
  • a9f1e2dfcd 🚀 Enhancing CellSeq for Better Readability and Maintainability (#21797) Jordan Gillard 2023-05-07 03:25:25 -04:00
  • 7a747fe320 fixes #21792; enable checks for sum, prod, cumsummed and cumsum (#21793) ringabout 2023-05-05 20:23:38 +08:00
  • 547f205794 error on user pragma args (#21776) metagn 2023-05-03 15:18:55 +03:00
  • fa3639ba33 line info for strformat + fix issue with typed templates (#21761) metagn 2023-05-02 12:28:52 +03:00
  • cd0f805832 cheap fix for #10853 + better tuple subscript error message (#21767) metagn 2023-05-02 12:13:38 +03:00
  • 579efdabb0 fixes #21703; moveOrCopy should consider when vm (#21721) ringabout 2023-04-24 20:57:48 +08:00
  • 7b99712bcf fix iterator equality + add test for proc equality + fix sameType (#21707) metagn 2023-04-23 12:43:59 +03:00
  • 58c7474838 static link pthread correctly (#21693) ringabout 2023-04-20 23:35:15 +08:00
  • fbb5ac512c Remove some unnecessary initialization in seq operations (#22677) Amjad Ben Hedhili 2023-09-10 16:36:49 +01:00
  • f8f6a3c926 renderIr should print the actual return assign node (#22682) ringabout 2023-09-10 23:35:40 +08:00
  • 8032f252b2 fixes #22669 constructor pragma doesnt init Nim default fields (#22670) Juan M Gómez 2023-09-10 11:45:36 +01:00
  • cd24195d44 fixes #22679 Nim zero clear an object contains C++ imported class when a proc return it (#22681) Juan M Gómez 2023-09-10 11:30:03 +01:00
  • 2ce9197d3a [minor] merge similar branches in vmgen (#22683) ringabout 2023-09-10 16:43:46 +08:00
  • 8853fb0775 Make newSeqOfCap not initialize memory. (#21842) Amjad Ben Hedhili 2023-09-09 20:11:45 +01:00
  • 5717a4843d fixes #22676; remove wMerge which is a noop for more than 8 years (#22678) ringabout 2023-09-09 23:25:48 +08:00
  • e6ca13ec85 Instantiates generics in the module that uses it (#22513) Juan M Gómez 2023-09-09 09:34:20 +01:00
  • 5f13e15e0a fixes #22664; guard against potential seqs self assignments (#22671) ringabout 2023-09-08 23:05:57 +08:00
  • d45270bdf7 fixes #22662 Procs with constructor pragma doesn't initialize object's fields (#22665) Juan M Gómez 2023-09-08 09:46:40 +01:00
  • 2a8c759df0 Fix #21742: Check generic alias depth before skip (#22443) SirOlaf 2023-09-08 06:50:39 +02:00
  • ee4a219012 Fix #17509: Continue instead of return with unfinished generics (#22563) SirOlaf 2023-09-07 05:46:45 +02:00
  • a4df44d9fb Remove some unnecessary initialization in string operations (#22579) Amjad Ben Hedhili 2023-09-07 04:45:54 +01:00
  • e5106d1ef3 minor refactoring, move some sym/type construction to semdata (#22654) metagn 2023-09-07 06:33:01 +03:00
  • ad7c1c38ff run docs CI on compiler changes (#22656) metagn 2023-09-07 06:31:15 +03:00
  • ed9e3cba07 make getType nodes of generic insts have full inst type (#22655) metagn 2023-09-07 06:30:37 +03:00
  • b9f039e0c3 switch back to main neo in CI (#22660) metagn 2023-09-06 12:37:51 +03:00
  • 009ce1e17e add union to packages (#22658) ringabout 2023-09-06 15:05:01 +08:00
  • 90f87bcab7 fully revert generic inst sym change, test #22646 (#22653) metagn 2023-09-06 05:45:07 +03:00
  • 18e62ad136 fixes #22619; don't lift cursor fields in the hook calls (#22638) ringabout 2023-09-05 16:31:28 +08:00
  • f03aa1d0b5 define toList procs after add for lists [backport] (#22573) metagn 2023-08-28 16:09:43 +03:00
  • eb91cf991a fixes #22619; don't lift cursor fields in the hook calls (#22638) ringabout 2023-09-05 16:31:28 +08:00
  • 6000cc8c0f fix sym of created generic instantiation type (#22642) metagn 2023-09-05 11:30:13 +03:00
  • 8f7aedb3d1 Add hasDefaultValue type trait (#22636) Amjad Ben Hedhili 2023-09-04 22:18:58 +01:00
  • 3fbb078a3c update checkout to v4 (#22640) ringabout 2023-09-05 05:09:27 +08:00
  • d13aab50cf fixes branches interacting with break, raise etc. in strictdefs (#22627) ringabout 2023-09-04 20:36:45 +08:00
  • c5495f40d5 docgen: add Pandoc footnotes (fixes #21080) (#22591) Andrey Makarov 2023-09-03 08:09:36 -06:00
  • 480e98c479 resolve unambiguous enum symchoices from local scope, error on rest (#22606) metagn 2023-09-03 14:59:03 +03:00
  • d2f36c071b Exclude block from endsInNoReturn, fix regression (#22632) SirOlaf 2023-09-02 20:42:40 +02:00
  • bd6adbcc9d fix isNil folding for compile time closures (#22574) metagn 2023-09-02 11:32:46 +03:00
  • 9f1fe8a2da Fix the problem where instances of generic objects with sendable pragmas are not being cached (#22622) Pylgos 2023-09-02 13:00:26 +09:00
  • 2542dc09c8 use dummy dest for void branches to fix noreturn in VM (#22617) metagn 2023-09-01 16:38:25 +03:00
  • 6738f44af3 unify explicit generic param semchecking in calls (#22618) metagn 2023-09-01 16:37:16 +03:00
  • 0c6e13806d fixes internal error: no generic body fixes #1500 (#22580) Juan M Gómez 2023-09-01 12:42:47 +01:00
  • f1789cc465 resolve local symbols in generic type call RHS (#22610) metagn 2023-09-01 10:00:15 +03:00
  • 53d9fb259f don't update const symbol on const section re-sems (#22609) metagn 2023-09-01 09:59:48 +03:00
  • affd3f7858 fixes #22613; Default value does not work with object's discriminator (#22614) ringabout 2023-09-01 14:55:19 +08:00
  • 3b206ed988 Fix #22604: Make endsInNoReturn traverse the tree (#22612) SirOlaf 2023-09-01 06:41:39 +02:00
  • ba158d73dc type annotations for variable tuple unpacking, better error messages (#22611) metagn 2023-09-01 07:26:53 +03:00
  • b3912c25d3 remove outdated config (#22603) ringabout 2023-09-01 00:01:29 +08:00
  • 5387b30211 closes #22600; adds a test case (#22602) ringabout 2023-08-31 22:30:19 +08:00
  • 5bd1afc3f9 fixes #17197; fixes #22560; fixes the dest of newSeqOfCap in refc (#22594) ringabout 2023-08-31 19:04:32 +08:00
  • dfb3a88cc3 fixes yaml tests (#22595) ringabout 2023-08-31 15:26:09 +08:00
  • 0d963b9a2e fixes #17197; fixes #22560; fixes the dest of newSeqOfCap in refc pr_#22560 ringabout 2023-08-31 13:45:18 +08:00
  • 2e4e2f8f50 handle typedesc params in VM (#22581) metagn 2023-08-30 08:23:14 +03:00
  • d7634c1bd4 fixes an issue where sometimes wasMoved produced bad codegen for cpp (#22587) Juan M Gómez 2023-08-30 06:22:36 +01:00
  • a7a0105d8c deprecate std/threadpool; use malebolgia, weave, nim-taskpool instead (#22576) ringabout 2023-08-29 21:00:13 +08:00
  • b6cea7b599 clearer error for different size int/float cast in VM (#22582) metagn 2023-08-29 15:59:49 +03:00
  • fb16775856 Merge remote-tracking branch 'upstream/devel' into pr_base ringabout 2023-08-29 20:28:04 +08:00
  • 11f6b98211 Merge remote-tracking branch 'upstream/devel' into pr_base ringabout 2023-08-29 20:27:50 +08:00
  • e53c66ef39 fixes #22555; implements newStringUninit (#22572) ringabout 2023-08-29 19:29:42 +08:00
  • 1fcb53cded fixes broken nightlies; follow up #22544 (#22585) ringabout 2023-08-29 16:40:19 +08:00
  • d8ffc6a75e minor style changes in the compiler (#22584) ringabout 2023-08-29 13:59:51 +08:00
  • 6b955ac4af properly fold constants for dynlib pragma (#22575) metagn 2023-08-28 22:41:18 +03:00
  • 3de8d75513 correct logic for qualified symbol in templates (#22577) metagn 2023-08-28 22:40:46 +03:00
  • 94454addb2 define toList procs after add for lists [backport] (#22573) metagn 2023-08-28 16:09:43 +03:00