Skip to content

Get a simple use of a parametric ProcDef to typecheck successfully.#4276

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_916277674
May 19, 2026
Merged

Get a simple use of a parametric ProcDef to typecheck successfully.#4276
copybara-service[bot] merged 1 commit into
mainfrom
test_916277674

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service Bot commented May 17, 2026

Get a simple use of a parametric ProcDef to typecheck successfully.

Part of the problem being fixed here is type inference for chains like S<T>::new(args).foo(). This pattern was broken even for regular structs before this, due to e.g. improper differentiation of instance methods from static member functions, like new() in this example.

@copybara-service copybara-service Bot force-pushed the test_916277674 branch 5 times, most recently from 0955f15 to b9c405f Compare May 19, 2026 17:13
Part of the problem being fixed here is type inference for chains like `S<T>::new(args).foo()`. This pattern was broken even for regular structs before this, due to e.g. improper differentiation of instance methods from static member functions, like new() in this example.

PiperOrigin-RevId: 917916379
@copybara-service copybara-service Bot merged commit 6069746 into main May 19, 2026
@copybara-service copybara-service Bot deleted the test_916277674 branch May 19, 2026 17:51
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