Skip to content

Test: generic function's dictionary of T with untyped arrows (TSLANG 230) - #127

Merged
ASDAlexander77 merged 1 commit into
mainfrom
generic-dict-arrow-1129
Nov 29, 2026
Merged

ASDAlexander77 merged 1 commit into
mainfrom
generic-dict-arrow-1129

Conversation

@ASDAlexander77

Copy link
Copy Markdown
Owner

Test for TSLANG 230 (compiler: ASDAlexander77/TypeScriptCompiler#1069): generic_dictionary_untyped_arrow.ts, generic functions building { [key: string]: number | T | T[] } called with untyped arrows ((n) => ...). It failed in every model with "'ts.Call' op result type mismatch" in ObjectDictionary.delete.

Marked "not own": groups() stores borrowed elements in a dictionary, which -mm=own refuses. Locally it passes under gc, rc and none with the #1069 compiler; it fails with a compiler without #1069, so this merges after it.

🤖 Generated with Claude Code

…arrows (TSLANG 230)

Needs the compiler of ASDAlexander77/TypeScriptCompiler#1069. Not own: groups() stores borrowed elements.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ASDAlexander77
ASDAlexander77 merged commit 39f2b7f into main Nov 29, 2026
1 of 9 checks passed
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