Skip to content

Add support for aliased map/slice/arrays - #418

Merged
klauspost merged 5 commits into
tinylib:masterfrom
klauspost:add-aliased-map-slice-array
Nov 18, 2025
Merged

klauspost merged 5 commits into
tinylib:masterfrom
klauspost:add-aliased-map-slice-array

Conversation

@klauspost

Copy link
Copy Markdown
Collaborator

Fixes #416

@klauspost
klauspost marked this pull request as draft November 14, 2025 10:14
@klauspost

Copy link
Copy Markdown
Collaborator Author

Tested against a larger codebase with no change in generated code was seen (expected)

@klauspost
klauspost requested a review from philhofer November 17, 2025 12:46
Comment thread gen/encode.go Outdated
Comment thread gen/size.go Outdated
Co-authored-by: Phil <philhofer@users.noreply.github.com>
@klauspost
klauspost merged commit 8202ee2 into tinylib:master Nov 18, 2025
4 checks passed
@klauspost
klauspost deleted the add-aliased-map-slice-array branch November 18, 2025 11:30
gannett-ggreer pushed a commit to GannettDigital/msgp that referenced this pull request Aug 25, 2026
* Add support for aliased map/slice/arrays

Fixes tinylib#416

* Fix test errors

* Clean up common code.

* Apply suggestions from code review

Co-authored-by: Phil <philhofer@users.noreply.github.com>

---------

Co-authored-by: Phil <philhofer@users.noreply.github.com>
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.

Generics: Instantiation of the list of generic structs is generated w/out generics

2 participants