Skip to content

Inline fn get_fn_sig into its callers.#701

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_884700042
Mar 18, 2026
Merged

Inline fn get_fn_sig into its callers.#701
copybara-service[bot] merged 1 commit intomainfrom
test_884700042

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Mar 18, 2026

Inline fn get_fn_sig into its callers.

Not all generic functions can be supported (currently none are
supported) so this means that fn get_fn_sig would need to return a
fallible Result. But 2 out of 3 callers don't really care about
generics, so inlining seems to result in a bit simpler code.

@copybara-service copybara-service bot force-pushed the test_884700042 branch 2 times, most recently from 6e48e7f to cb842c8 Compare March 18, 2026 21:45
@copybara-service copybara-service bot changed the title Push handling of generic functions into fn get_fn_sig. Inline fn get_fn_sig into its callers. Mar 18, 2026
Not all generic functions can be supported (currently none are
supported) so this means that `fn get_fn_sig` would need to return a
fallible `Result`.  But 2 out of 3 callers don't really care about
generics, so inlining seems to result in a bit simpler code.

PiperOrigin-RevId: 885800534
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