Commit Graph

  • 24e5b21c90 fix regression with generic params in static type (#24075) metagn 2024-09-09 11:12:10 +03:00
  • f223f016f3 show symchoices as ambiguous in overload type mismatches (#24077) metagn 2024-09-09 10:50:45 +03:00
  • 7de4ace949 fix int32's that should be uint32 on BSD & OSX (#24078) metagn 2024-09-09 10:46:47 +03:00
  • 6a5aa00701 Fix CSS for number-lines code blocks (#24081) Jake Leahy 2024-09-09 17:42:45 +10:00
  • 79a65da22a fix CI, sem whole when stmts as generic stmt (#24072) metagn 2024-09-08 23:50:30 +03:00
  • 29a7d60acb Fix ioselectors_kqueue raising wrong exceptions (#24079) bptato 2024-09-08 22:50:10 +02:00
  • ca28c256f3 fix subscript in generics, typeof, lent with bracket (#24067) metagn 2024-09-08 23:49:27 +03:00
  • ebcfd96ae1 improve compiler performance on dot fields after #24005 (#24074) metagn 2024-09-08 23:11:12 +03:00
  • cd22560af5 fix string literal assignment with different lengths on ARC (#24083) metagn 2024-09-08 21:17:26 +03:00
  • 8d254a5945 fixes #24053; fixes #18288; relax reorder with push/pop pragmas restrictions; no crossing push/pop barriers (#24061) ringabout 2024-09-06 17:26:24 +08:00
  • 7cd1777218 generate tyFromExpr for when in generics (#24066) metagn 2024-09-06 12:46:17 +03:00
  • a93c5d79b9 adapt generic default parameters to recent generics changes (#24065) metagn 2024-09-06 12:44:38 +03:00
  • c10f84b9d7 fixes #24053; fixes #18288; relax reorder with push/pop pragmas restrictions; no crossing push/pop barriers (#24061) ringabout 2024-09-06 17:26:24 +08:00
  • 4a548deb08 proper errors for subscript overloads (#24068) metagn 2024-09-06 12:25:51 +03:00
  • d77ea07837 expose rangeBase typetrait, fix enum conversion warning (#24056) metagn 2024-09-06 12:18:20 +03:00
  • bf865fa75a fix undeclared identifier in templates in generics (#24069) metagn 2024-09-06 12:16:43 +03:00
  • d91297a330 remove unused config field: keepComments (#24063) ringabout 2024-09-06 02:55:06 +08:00
  • 9ff15da426 fixes #23897; Useless empty C files with arc/orc (#24064) ringabout 2024-09-06 02:44:00 +08:00
  • e265b3dfdd Make math.isNaN,copySign,etc available on objc (#24025) lit 2024-09-05 14:21:30 +08:00
  • 99f4cfa438 remove unused nimStdlibVersion (#24060) ringabout 2024-09-04 21:09:29 +08:00
  • 6908fb4011 Make $ on 0-length MemSlice produce Nim "" as per DMisener idea (#24015) c-blake 2024-09-04 05:01:55 -04:00
  • 080b0a03bd streams: implement readStr for VM, document VM limitations (#24058) metagn 2024-09-04 10:25:01 +03:00
  • c314155fb3 document partial generics breaking changes (#24055) metagn 2024-09-04 10:13:28 +03:00
  • f69809bb17 proper error for calling nil closure in VM (#24059) metagn 2024-09-04 10:13:04 +03:00
  • c948ab9b85 fixes symbolName for range enums (#24052) ringabout 2024-09-03 22:35:04 +08:00
  • 4bf323d6c4 fixes push warnings for sempass2 (#23603) ringabout 2024-09-03 15:19:52 +08:00
  • 538603e01d allow conversions between var types of range types and base types (#24037) metagn 2024-09-03 10:18:38 +03:00
  • 1ebdcb3bca fully disable static paramTypesMatch for tyFromExpr in generics (#24049) metagn 2024-09-03 06:45:44 +03:00
  • d27061f6da fix segfault with gensym node instantiation (#24050) metagn 2024-09-03 06:45:08 +03:00
  • 71de7fca9e handle explicit generic routine instantiations in sigmatch (#24010) metagn 2024-09-02 19:22:20 +03:00
  • c8af0996fd fixes #24033; Yielding from var fails with pairs and destructuring (#24046) ringabout 2024-09-03 00:12:48 +08:00
  • 5e55e16ad8 check constant conditions in generic when in objects (#24042) metagn 2024-09-02 19:11:59 +03:00
  • 4789af71fe fixes #24031; js codegen bug for case statement with just else branch (#24047) ringabout 2024-09-03 00:10:01 +08:00
  • 4856beae70 fixes #23973; fixes #23974; Memory corruption with lent and ORC (#23981) ringabout 2024-08-20 17:57:47 +08:00
  • 568a637f0f fixes semi-regression; discard check now skips nkHiddenSubConv (#23840) ringabout 2024-07-16 13:37:33 +08:00
  • 8b421d2203 fixes regression; block can have arbitrary exit points; too hard for a simple analysis (#23839) ringabout 2024-07-16 13:37:06 +08:00
  • a5237a5053 Overload resultion with generic variables an inheritance (#23870) Ryan McConnell 2024-07-24 17:59:45 -04:00
  • d0a8637872 fix noreturn/implicit discard check logic (#23681) metagn 2024-06-05 21:53:05 +03:00
  • 7821aa94eb remove bad type inference behavior for enum identifiers (#23588) metagn 2024-05-10 11:30:57 +03:00
  • b1e5dd605a fix wrong subtype relation in tuples & infer some conversions (#23228) metagn 2024-01-18 23:19:29 +03:00
  • 87ab9b8ac2 typRel and sumGeneric adjustments (#23137) Ryan McConnell 2023-12-31 16:52:52 +00:00
  • c18e599f53 ambiguous identifier resolution (#23123) metagn 2024-01-01 14:21:19 +03:00
  • d1aa568de3 Param match relax (#23033) Ryan McConnell 2023-12-15 06:48:34 +00:00
  • fc853cb726 generic issues test cases (#24028) metagn 2024-08-30 17:12:38 +03:00
  • 11ead19bc1 fixes #24034; fixes lent types after taking implicit address (#24035) ringabout 2024-08-30 22:08:59 +08:00
  • aa0d8e9cfe remove noise from bug report issue form (#24030) metagn 2024-08-29 22:37:24 +03:00
  • b7b1313d21 proper error message for out-of-range enum sets (#24027) metagn 2024-08-29 17:13:06 +03:00
  • d7e77b330f fix include in templates, with prefix operators (#24029) metagn 2024-08-29 17:11:37 +03:00
  • da7670c8e0 fixes typo (#24026) ringabout 2024-08-29 16:20:04 +08:00
  • 352c82af89 Try to revert "disable presto" (#23987) ringabout 2024-08-20 22:41:28 +08:00
  • 22149422ee fixes LineTooLong hints on old compilers (#22412) ringabout 2023-08-08 17:53:21 +08:00
  • 1244ffbf39 fixes #23923; type-aliased seq[T] get different backend C/C++ pointer type names causing invalid codegen (#23924) ringabout 2024-08-29 02:59:25 +08:00
  • 5e8cd318ef Fix linux start process errorCode always 0 (#24001) 握猫猫 2024-08-29 02:52:00 +08:00
  • 770f8d5513 opensym for templates + move behavior of opensymchoice to itself (#24007) metagn 2024-08-28 21:51:13 +03:00
  • d3af51e3ce remove fauxMatch for tyFromExpr, remove tyProxy and tyUnknown aliases (#24018) metagn 2024-08-28 21:46:36 +03:00
  • ea7c2a4409 fixes #14623; Top-level volatileLoad/volatileStore leads to invalid codegen (#24020) ringabout 2024-08-29 02:44:06 +08:00
  • d53a9cf288 use the official URL of neo (#24019) ringabout 2024-08-28 22:59:09 +08:00
  • 540b414c86 fixes #23925; VM generates wrong cast for negative enum values (#23951) autumngray 2024-08-27 14:03:56 +02:00
  • f09c549d42 make int literals with range type match their base type better than other int types (#24017) metagn 2024-08-27 10:58:05 +03:00
  • 7e88091de3 fixes #22553; regression of offsetof(T, anFieldOfUncheckedArray) (#24014) ringabout 2024-08-27 15:45:30 +08:00
  • 4c250d69a8 bump NimVersion to 2.1.99 (2.0.2 RC2) (#24016) Miran 2024-08-27 02:49:46 +02:00
  • 69ea1336fb sem generic proc param types like generic types + static instantiation fixes (#24005) metagn 2024-08-26 07:54:38 +03:00
  • 09dcff71c8 generate symchoice for ambiguous types in templates & generics + handle types in symchoices (#23997) metagn 2024-08-25 23:24:20 +03:00
  • 0d53b6e027 fixes #23915; std/random produces different results on c/js (#24003) ringabout 2024-08-26 04:23:30 +08:00
  • 4ef06a5cc5 fixes cast expressions introduces unnecessary copies (#24004) ringabout 2024-08-24 02:07:00 +08:00
  • 446501b53b fix error messages for wrongly typed generic param default values (#24006) metagn 2024-08-23 19:01:43 +03:00
  • cb7bcae7f7 fixes #23956; bindUnix loses the last character on OpenBSD (#23961) Alfred Morgan 2024-08-22 01:31:35 -07:00
  • 79f5a74408 fixes #23454; IndexDefect thrown when destructuring a lent tuple (#23993) ringabout 2024-08-22 13:21:13 +08:00
  • 04da0a6028 fix subscript magic giving unresolved generic param type (#23988) metagn 2024-08-22 08:20:20 +03:00
  • ac0179ced9 fixes #23943; simple default value for range (#23996) ringabout 2024-08-22 13:20:00 +08:00
  • 2311049b27 don't require symbol with enum type to be constant in fitNode (#23999) metagn 2024-08-22 08:19:43 +03:00
  • 832ba815d1 Revert "Fixed an issue where errorCode was always 0 when startProcess did…" (#23995) ringabout 2024-08-21 20:53:38 +08:00
  • 12b90d7c07 Fixed an issue where errorCode was always 0 when startProcess did… (#23992) 握猫猫 2024-08-21 17:44:53 +08:00
  • e38cbd3c84 consider ambiguity for qualified symbols (#23989) metagn 2024-08-20 22:32:35 +03:00
  • ab18962085 sem all call nodes in generic type bodies + many required fixes (#23983) metagn 2024-08-20 22:31:19 +03:00
  • 6320b0cd5b allow qualifying macro pragmas (#23985) metagn 2024-08-20 22:27:55 +03:00
  • eed9cb0d3f Try to revert "disable presto" (#23987) ringabout 2024-08-20 22:41:28 +08:00
  • 1befb8d4a3 include generic bodies in allowMetaTypes (#23968) metagn 2024-08-20 17:20:35 +03:00
  • 6336d2681b adds a ubuntu 24.04 matrix with gcc 14 for tests (#23673) ringabout 2024-08-20 22:07:11 +08:00
  • dda638c1ba fixes #23945; type checking for whenvm expresssions (#23970) ringabout 2024-08-20 20:41:07 +08:00
  • 43274bfb92 fixes #23982; codegen regression passing pointer expressions to inline iterators (#23986) ringabout 2024-08-20 19:09:06 +08:00
  • 26107e931c fixes #23973; fixes #23974; Memory corruption with lent and ORC (#23981) ringabout 2024-08-20 17:57:47 +08:00
  • 34719cad9d allow untyped arguments to fail to compile in overload mismatch error (#23984) metagn 2024-08-20 12:43:11 +03:00
  • 8bd0422767 fix infinite recursion in term rewriting macros tests (#23979) metagn 2024-08-20 12:42:14 +03:00
  • 58813a3b2e make all generic aliases tyAlias (#23978) metagn 2024-08-20 12:41:50 +03:00
  • a4dff1a03e fixes for 32bit system (#23980) ringabout 2024-08-19 20:58:44 +08:00
  • d6f7625626 disable presto (#23958) ringabout 2024-08-15 18:00:56 +08:00
  • 3e8dfde2f9 Revert "bump NimVersion to 2.0.10" narimiran 2024-08-19 09:25:03 +02:00
  • 3f183f6769 fixes #23936; opcParseFloat accepts the wrong register as the first param [backport] (#23941) ringabout 2024-08-12 20:43:13 +08:00
  • 1100f550dc [backport] fixes #23796; remove extra indirection for args in importc'ed functions in cpp (#23800) Alexander Kernozhitsky 2024-07-06 23:10:15 +02:00
  • 2e4d344b43 Fixes #23962 resetLocdoenst produce any cgen code in importcpp types (#23964) Juan M Gómez 2024-08-18 12:21:17 +01:00
  • f7c11a8978 allow generic compileTime proc folding (#22022) metagn 2024-08-18 01:52:32 +03:00
  • a354b18fe1 always lookup pure enum symbols if expected type is enum (#23976) metagn 2024-08-17 17:50:48 +03:00
  • 0ffc0493a3 bump checksums (#23975) ringabout 2024-08-17 22:48:46 +08:00
  • 253fafb305 fixes docgen regression: don't add newLine for code if it's the first line (#23154) ringabout 2024-08-17 20:02:36 +08:00
  • be000b37c1 Merge branch 'devel' into pr_remove_macros ringabout 2024-08-17 19:44:35 +08:00
  • e96fad1eed fixes default float ranges (#23957) ringabout 2024-08-16 21:50:31 +08:00
  • 61a2a14676 solve conflicts araq-fixes-15533 ringabout 2024-08-16 18:50:46 +08:00
  • e485a5d6e4 Merge remote-tracking branch 'upstream/devel' into araq-fixes-15533 ringabout 2024-08-16 18:50:37 +08:00
  • cf313fdc11 Merge branch 'devel' into pr_remove_macros ringabout 2024-08-16 17:02:02 +08:00