Commit Graph

  • fbb9ce4d5c fixes #22923; fixes =dup issues (#23182) ringabout 2024-01-11 18:23:42 +08:00
  • 76735147b3 trigger range check with new type inference on nkIntLit [backport:1.6] (#23179) metagn 2024-01-08 05:44:04 +03:00
  • c2d297cc3c don't transform typed bracket exprs to [] calls in templates (#23175) metagn 2024-01-07 09:48:32 +03:00
  • 4886534ed3 Fixes #23172 (#23173) Ryan McConnell 2024-01-06 05:50:09 +00:00
  • 2ed16bf2d4 fixes #23139; Cannot get repr of range type of enum (#23164) ringabout 2024-01-05 18:07:27 +08:00
  • c3d043e980 fixes #23167; take nkOpenSymChoice into consideration caused by templates [backport] (#23168) ringabout 2024-01-05 15:17:08 +08:00
  • 0cdca3a0cd Recommend hanging indent in NEP1 (#23105) Jacek Sieka 2024-01-03 14:06:39 +01:00
  • 5e22f6ca58 Fix cmpRunesIgnoreCase on system where sizeof(int) < 4. Fixes #23125. (#23138) Gianmarco 2023-12-28 23:41:58 +01:00
  • f8d538f4ad fix spurious indent and newlines in rendering of nkRecList (#23121) metagn 2023-12-24 17:22:10 +03:00
  • 8efdc313a3 Don't crash for invalid toplevel parseStmt/Expr calls (#23089) Jake Leahy 2023-12-20 03:27:24 +11:00
  • 49cc3c5746 Mark macros.error as .noreturn. (#23081) Jake Leahy 2023-12-17 22:29:46 +11:00
  • 865a2f895e Allow parseAll to parse statements separated by semicolons (#23088) Jake Leahy 2023-12-17 19:01:00 +11:00
  • 82e77a13f3 Overloads passed to static proc parameters now convert to the desired… (#23063) Jason Beetham 2023-12-14 09:05:14 -07:00
  • fca71c4bb4 fixes #9381; Fix double evaluation of types in generic objects (#23072) Pylgos 2023-12-14 17:55:04 +09:00
  • 3d4ec68e54 fixes #23060; editDistance wrongly compare the length of rune strings (#23062) ringabout 2023-12-13 17:34:41 +08:00
  • 54bd380011 Look up generic parameters when found inside semOverloadedCall, fixin… (#23054) Jason Beetham 2023-12-12 01:06:13 -07:00
  • 55905604da Revert "fixes #22913; fixes #12985 differently push-ing pragma exportc genera… (#22941)" narimiran 2024-04-19 08:12:35 +02:00
  • 1185b93c6d fixes commit hashes (#23520) ringabout 2024-04-19 13:47:24 +08:00
  • 318b2cfc5e allow having {.noinit.} on a complex type avoid memsets to 0 for its … (#23388) heterodoxic 2024-04-18 21:58:01 +02:00
  • 558bbb7426 Fix duplicated member declarations in structs for C++ backend (#23512) HexSegfaultCat 2024-04-18 21:57:06 +02:00
  • 229c125d2f workaround #23435; real fix pending #23279 (#23436) ringabout 2024-04-19 03:55:26 +08:00
  • 2a7ddcab2d bundle atlas with sat (#23375) ringabout 2024-04-19 03:54:20 +08:00
  • f12683873f remove php code from jsgen (#23502) ringabout 2024-04-19 03:53:27 +08:00
  • deae83b6ab remove || [] from jsgen because string cannot be nil anymore (#23508) ringabout 2024-04-19 03:53:06 +08:00
  • 0fc8167b84 fixes #23492; fixes JS float range causes compiler crash (#23517) ringabout 2024-04-19 03:51:52 +08:00
  • 9e1d0d1513 fixes #4695; closure iterators support for JS backend (#23493) ringabout 2024-04-19 00:52:30 +08:00
  • e4ac3def9c fixes #19833 #19833; transform discardable into discard statement pr_discardable_refactor ringabout 2024-04-18 14:34:42 +00:00
  • fd64402e47 allow Nix builds by not calling git in isGitRepo for Nimble (#23515) Jakub 2024-04-18 12:25:19 +02:00
  • d6823f4776 allow Nix builds by not calling git in isGitRepo for Nimble (#23515) Jakub 2024-04-18 12:25:19 +02:00
  • acd4c8a353 fixes #23505; fixes injectdestructors errors on transformed addr (deref) refs (#23507) ringabout 2024-04-18 17:57:44 +08:00
  • c696ec92db fixes #23001; give a better warning for PtrToCstringConv (#23005) ringabout 2023-11-30 21:12:12 +08:00
  • 4bc45bb6bc Fix endsInNoReturn for case statements (#23009) SirOlaf 2023-11-30 11:01:42 +01:00
  • 9f35ede1a8 fixes #22926; Different type inferred when setting a default value for an array field (#22999) ringabout 2023-11-29 17:36:20 +08:00
  • 51fa2fada1 fixes #22996; typeAllowedCheck for default fields (#22998) ringabout 2023-11-29 17:35:50 +08:00
  • aed04c6405 fix: std/marshal unmarshaling of ref objects (#22983) John Viega 2023-11-26 00:32:32 -05:00
  • d566d21730 fixes #22913; fixes #12985 differently push-ing pragma exportc genera… (#22941) ringabout 2023-11-20 00:52:42 +08:00
  • 5c4c8c44dc let InotifyEvent type sizeof-able (#22958) Derek 2023-11-18 23:21:01 +08:00
  • 47f1ab7b97 Fix OSError errorCode field is not assigned a value (#22954) 握猫猫 2023-11-18 05:06:46 +08:00
  • 710801d880 fixes #22932; treats closure iterators as pointers (#22934) ringabout 2023-11-14 14:15:44 +08:00
  • 39d0eb3a58 fixes #22673; Cannot prove that result is initialized for a placehold… (#22915) ringabout 2023-11-07 02:36:26 +08:00
  • 71dde8f7cf reserve sysFatal for Defect (#22158) Jacek Sieka 2023-11-06 07:57:29 +01:00
  • 683a1213db fixes #22860; suppress AnyEnumConv warning when iterating over set (#22904) ringabout 2023-11-04 15:52:30 +08:00
  • 3ae3050b80 fixes #22902; borrow from proc return type mismatch (#22908) ringabout 2023-11-04 15:50:30 +08:00
  • bd829c093d fixes #22883; replace default(typeof( with reset; suppress `Unsaf… (#22895) ringabout 2023-11-01 14:54:47 +08:00
  • 5e20e935dd Fix #22826: Don't skip generic instances in type comparison (#22828) SirOlaf 2023-10-21 22:00:16 +02:00
  • 106c7d2afb fixes #22844; uses arrays to store holeyenums for iterations; much more efficient than sets and reasonable for holeyenums (#22845) ringabout 2023-10-21 00:38:42 +08:00
  • 755a15d8d4 fixes #19250; fixes #22259; ORC AssertionDefect not containsManagedMemory(n.typ) (#22823) ringabout 2023-10-14 03:34:13 +08:00
  • a5a6a4d39e fixes #22790; use cast suppress AnyEnumConv warnings for enums withou… (#22813) ringabout 2023-10-11 23:18:54 +08:00
  • 3120c6e839 use lent for the return value of index accesses of tables (#22812) ringabout 2023-10-11 21:14:12 +08:00
  • 0d255b4ea1 suppress incorrect var T destructor warnings for newFinalizer in stdlib (#22810) ringabout 2023-10-11 19:27:22 +08:00
  • e9067c03c6 allows cast int to bool/enum in VM (#22809) ringabout 2023-10-11 18:06:42 +08:00
  • 999d29d2a0 fixes #8893; guard against array access in renderer (#22807) ringabout 2023-10-09 21:36:56 +08:00
  • 08d37c2d7e fixes #22787; marks var section in the loop as reassign preventing cursor (#22800) ringabout 2023-10-07 13:43:39 +08:00
  • 4f78a4dd3e Make typeRel behave to spec (#22261) Ryan McConnell 2023-09-30 04:34:14 +00:00
  • bb82d46ef1 fixes #22696; func strutils.join for non-strings uses proc $ which can have side effects (#22770) ringabout 2023-09-30 12:27:27 +08:00
  • 567900be76 case macro now can be used inside generic. Fixes #20435 (#22752) Juan M Gómez 2023-09-30 05:27:02 +01:00
  • cb899ccf25 ref #19727; implement setLenUninit for seqsv2 (#22767) ringabout 2023-09-29 00:08:31 +08:00
  • 710fd14393 fixes #10542; suppresses varargs conversion warnings (#22757) ringabout 2023-09-26 20:05:18 +08:00
  • 499ad5b63c fixes #22706; turn "unknown hint" into a hint (#22755) ringabout 2023-09-25 23:51:30 +08:00
  • 8ab6cf1ca8 fixes #22246; generate __builtin_unreachable hints for case defaults (#22737) ringabout 2023-09-22 01:47:29 +08:00
  • 577ffbc57c items, pairs and friends now use unCheckedInc (#22729) ringabout 2023-09-20 18:50:23 +08:00
  • e918a762f7 fixes compiler crash by preventing exportc on generics (#22731) Juan M Gómez 2023-09-20 07:19:29 +01:00
  • d56000eaff make parseEnum skip type aliases for enum type sym (#22727) metagn 2023-09-19 10:14:55 +03:00
  • cc7f76a247 Update osfiles.nim, make moveFile consider permission on *nix (#22719) litlighilit 2023-09-18 19:15:17 +08:00
  • adf3e3ceb5 fixes incorrect cint overflow in system (#22718) ringabout 2023-09-18 16:00:46 +08:00
  • 344feb0dd1 Fix #22713: Make size unknown for tyForward (#22714) SirOlaf 2023-09-17 20:03:43 +02:00
  • dc6058fb9b implement semgnrc for tuple and object type nodes (#22709) metagn 2023-09-16 10:16:12 +03:00
  • bbf32118a2 followup of #22568 (#22690) Amjad Ben Hedhili 2023-09-14 16:38:33 +01:00
  • b2cb5f55ac refactor semtempl ident declarations, some special word use (#22693) metagn 2023-09-14 07:22:22 +03:00
  • 7083d397f3 fixes the discVal register is used after free in vmgen (#22688) ringabout 2023-09-11 16:54:41 +08:00
  • 3ddacd90d1 Remove some unnecessary initialization in seq operations (#22677) Amjad Ben Hedhili 2023-09-10 16:36:49 +01:00
  • cb3e5d3f28 [minor] merge similar branches in vmgen (#22683) ringabout 2023-09-10 16:43:46 +08:00
  • 12f2c36aca Make newSeqOfCap not initialize memory. (#21842) Amjad Ben Hedhili 2023-09-09 20:11:45 +01:00
  • a12cb273b3 fixes #22664; guard against potential seqs self assignments (#22671) ringabout 2023-09-08 23:05:57 +08:00
  • 1bbbb2f46b 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
  • 28cef86a09 Fix #21742: Check generic alias depth before skip (#22443) SirOlaf 2023-09-08 06:50:39 +02:00
  • 9ac5666271 make getType nodes of generic insts have full inst type (#22655) metagn 2023-09-07 06:30:37 +03:00
  • 70ab7a53f3 resolve unambiguous enum symchoices from local scope, error on rest (#22606) metagn 2023-09-03 14:59:03 +03:00
  • 70d771d1a9 fix isNil folding for compile time closures (#22574) metagn 2023-09-02 11:32:46 +03:00
  • 45aa0a4725 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
  • d4c1cc7a34 fixes internal error: no generic body fixes #1500 (#22580) Juan M Gómez 2023-09-01 12:42:47 +01:00
  • 131a0328b5 resolve local symbols in generic type call RHS (#22610) metagn 2023-09-01 10:00:15 +03:00
  • 7335495db7 don't update const symbol on const section re-sems (#22609) metagn 2023-09-01 09:59:48 +03:00
  • 24f3272db3 fixes #22613; Default value does not work with object's discriminator (#22614) ringabout 2023-09-01 14:55:19 +08:00
  • 3911c90d7b type annotations for variable tuple unpacking, better error messages (#22611) metagn 2023-09-01 07:26:53 +03:00
  • 7c44af4e22 properly fold constants for dynlib pragma (#22575) metagn 2023-08-28 22:41:18 +03:00
  • d49d7ba90c fix #22548;environment misses for type reference in iterator access n… (#22559) Bung 2023-08-27 20:29:24 +08:00
  • 26f3dfff75 fixes a strictdef ten years long vintage bug, which counts the same thing twice (#22549) ringabout 2023-08-25 02:56:58 +08:00
  • 271632a72d Fix getAppFilename exception handling (#22544) Jacek Sieka 2023-08-24 15:41:29 +02:00
  • 0d02bee23f round out tuple unpacking assignment, support underscores (#22537) metagn 2023-08-24 07:11:48 +03:00
  • c39a0139fc allow non-pragma special words as user pragmas (#22526) metagn 2023-08-21 21:08:57 +03:00
  • 06464fe2ff Fix #21722 (#22512) SirOlaf 2023-08-19 21:04:25 +02:00
  • 8eaf98d64f cascade tyFromExpr in type conversions in generic bodies (#22499) metagn 2023-08-17 19:52:28 +03:00
  • 2a4755ddf2 fixes #22469; generates nimTestErrorFlag for top level statements (#22472) ringabout 2023-08-14 19:08:01 +08:00
  • 814e929eeb fix #22448 Remove structuredErrorHook temporary in tryConstExpr (#22450) Pylgos 2023-08-12 01:23:09 +09:00
  • 6f00b46c4b fixes move sideeffects issues [backport] (#22439) ringabout 2023-08-11 00:04:29 +08:00
  • 665480372e fix #19304 Borrowing std/times.format causes Error: illformed AST (#20659) Bung 2023-08-10 16:26:23 +08:00
  • 2fa314a89d Fix #21760 (#22422) SirOlaf 2023-08-10 07:56:09 +02:00
  • bd63124a00 fix #12938 index type of array in type section without static (#20529) Bung 2023-08-09 18:45:43 +08:00
  • b67d0a64b4 fix #20891 Illegal capture error of env its self (#22414) Bung 2023-08-09 15:43:39 +08:00