Repository navigation
Unsafe evolution: allow await in unsafe context #84616
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
Changes from 6 commits
2f6f90d
0752150
abd75d7
e1230d1
df329a5
839be1d
8e3dd12
ff416a1
992fcab
72c68e4
c413ce0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3831,8 +3831,8 @@ Give the compiler some way to differentiate the methods. For example, you can gi | |
| <data name="ERR_BadAwaitInStaticVariableInitializer" xml:space="preserve"> | ||
| <value>The 'await' operator cannot be used in a static script variable initializer.</value> | ||
| </data> | ||
| <data name="ERR_AwaitInUnsafeContext" xml:space="preserve"> | ||
| <value>Cannot await in an unsafe context</value> | ||
| <data name="ERR_BadAwaitInFixed" xml:space="preserve"> | ||
| <value>Cannot await in the body or the initializer of a 'fixed' statement</value> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| </data> | ||
| <data name="ERR_BadAsyncLacksBody" xml:space="preserve"> | ||
| <value>The 'async' modifier can only be used in methods that have a body.</value> | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.