Skip to content
This repository was archived by the owner on Dec 3, 2025. It is now read-only.

Conversation

@stuartmorgan-g
Copy link
Collaborator

flutter/engine#7567 renamed the type of the
result for embedding API calls. Rather than force a Flutter upgrade by
using the new type name, temporarily use 'auto' for the type (with a
TODO to change it later, since auto is arguably less readable here).

This requires converting the file to ObjC++, which required a few
explicit casts in places that were previously being silently recast.

flutter/engine#7567 renamed the type of the
result for embedding API calls. Rather than force a Flutter upgrade by
using the new type name, temporarily use 'auto' for the type (with a
TODO to change it later, since auto is arguably less readable here).

This requires converting the file to ObjC++, which required a few
explicit casts in places that were previously being silently recast.
@stuartmorgan-g
Copy link
Collaborator Author

I thought I would need this for the GLFW embedder as well, but it turns out that's already using auto for this type.

@stuartmorgan-g stuartmorgan-g merged commit 2106e63 into google:master Jan 30, 2019
@stuartmorgan-g stuartmorgan-g deleted the macos-result-type-flexibility branch February 6, 2019 18:42
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants