Skip to content

docs/bugs: remove the fixed repros; C interop notes move to the docs - #558

Merged
ASDAlexander77 merged 1 commit into
mainfrom
docs-bugs-cleanup
Oct 12, 2026
Merged

ASDAlexander77 merged 1 commit into
mainfrom
docs-bugs-cleanup

Conversation

@ASDAlexander77

Copy link
Copy Markdown
Owner

Every repro in docs/bugs was re-run on main (Release, --emit=jit) and now passes, or fails as TypeScript does:

Repro Status
ntg_opaque_nullable_compare, ntg_boolean_array_elements, ntg_template_literal_escape, ntg_and_nullable_class, ntg_math_max_negative, ntg_jit_cache_import(_lib) fixed by #536, #537, #539, #540 (+#541), DefaultLib#31 (+#535), #549; all print done
ntg_let_zero_is_integer by design (integer literals are s32); warns since #544
testFallThrough, generic_in_generic, array_of_ifaces_cast fixed by #538, #542, #543
bug14, bug21 not valid TypeScript (circular aliases; new (x: this) => x)

Each fix has its regression test in tslang/test/tester, so the repros and native-ts-graphics-findings.md (all entries closed) are removed. Its interop notes move to docs/c-cpp-header-import.md:

  • a string returned by a declared C function is the char* itself, not a copy (checked in the emitted IR);
  • number is a C double;
  • a nullable Ref<T> field is written Ref<T> | null.

The open items from the second round of native_ts_graphics findings are fixed in #556 (64-bit shifts) and #557 (implicit derived constructor, plus error locations).

🤖 Generated with Claude Code

Every repro in docs/bugs passes on main, or fails as TypeScript does:
the native_ts_graphics findings were fixed by #535-#544 and #549 (the
`let s = 0` one by design, with a warning since #544), testFallThrough,
generic_in_generic and array_of_ifaces_cast by #538, #542 and #543, and
bug14 and bug21 aren't valid TypeScript. Each fix has its regression
test in tslang/test/tester, and the findings document is in the history
and in those PRs, so the folder goes.

Its interop notes stay, in docs/c-cpp-header-import.md: a `string`
returned by a C function is its `char*`, not a copy; `number` is a
`double`; and a nullable `Ref<T>` field is spelled `Ref<T> | null`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ASDAlexander77
ASDAlexander77 merged commit 5c0e218 into main Oct 12, 2026
2 checks passed
@ASDAlexander77
ASDAlexander77 deleted the docs-bugs-cleanup branch October 12, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant