Document generic type argument inference - #593
Merged
Merged
Conversation
✅ Deploy Preview for pony-tutorial ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
25 tasks
SeanTAllen
force-pushed
the
sean/type-argument-inference
branch
from
September 3, 2026 14:49
477af31 to
5d6d7f4
Compare
ponyc PR #5974 adds type argument inference for generic method and constructor calls. The generics overview was doing too much in one page — the practical how-to content was buried in what readers expect to be a brief introduction. This trims the overview to the concept (what generics are, what the syntax looks like at a glance) and moves all the practical content to a "Using Generics" page with subsections for generic classes, type parameter defaults, generic methods, and type argument inference.
SeanTAllen
force-pushed
the
sean/type-argument-inference
branch
from
September 3, 2026 15:00
5d6d7f4 to
f749a0d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents generic type argument inference from ponyc PR #5974 and restructures the generics tutorial section.
The generics overview was doing too much in one page — practical how-to content was buried in what readers expect to be a brief introduction. This trims the overview to the concept (what generics are, what the syntax looks like at a glance) and moves all the practical content to a "Using Generics" page with subsections for generic classes, type parameter defaults, generic methods, and type argument inference.
Depends on ponylang/ponyc#5974 being released first.