-
Notifications
You must be signed in to change notification settings - Fork 124
FutureOr<T> gets interpreted as "dynamic" #1482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the report! Note that those docs were generated using dartdoc |
Is it possible for me to opt-in to a newer version of dartdoc? If not it
doesn't really help 😖
…On Tue, Aug 15, 2017, 3:04 PM Devon Carew ***@***.***> wrote:
Thanks for the report! Note that those docs were generated using dartdoc
0.12.0 - released circa late May.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1482 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAKQ7p1ubPkzbM1bmYA24m0OdwV7CDZbks5sYhYGgaJpZM4O4KiY>
.
|
On dartdocs.org? I'm not familiar enough with it to know. My guess would be no. My note was more for @jcollins-g, so she didn't spend too much time tracking down something that may no longer be an issue in a current version of dartdoc. I believe @kevmoo has a plan to support dartdocs.org, or something with similar functionality, in the not too distant future. |
Well, hopefully this year... |
Must be some sort of analyzer bug or misconfiguration of the analysis engine/driver/context - the raw ... wait, aha! var options = new AnalysisOptionsImpl()
..enableAssertInitializer = true; ... I thought maybe it was a lack of |
Or... maybe it is? I do see this in // In non-strong mode `FutureOr<T>` is treated as `dynamic`
if (!typeSystem.isStrong && type.isDartAsyncFutureOr) { ... so I'll keep digging. |
Looks like this is getting fixed by #1611! |
Reopening for the tests; I have a PR on deck after the strong mode bit lands, for the FutureOr tests from #1507 plus a few new ones. |
Example:
https://www.dartdocs.org/documentation/io/0.2.0/io/isExecutable.html
The text was updated successfully, but these errors were encountered: