Add missing note about static local functions

`extern` is accepted for static local functions.
This commit is contained in:
Andy Gocke 2019-10-04 10:25:10 -07:00 committed by GitHub
parent 5ec2b2c8e3
commit 372e7f5eb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,8 @@ emitted to the lowered methods, on the exact same parameters they were applied t
**Conclusion**
Proposal accepted, attributes will be allowed on local functions.
Proposal accepted, attributes will be allowed on local functions. `extern` will also be allowed on
static local functions, and will be a valid P/Invoke target.
### Target-typed new
@ -94,4 +95,4 @@ In addition, we would like to know the effect of changing switch expressions to
type, if one exists. We hope that any difference would be uncommon in practice, but it would be
useful to know if there are common instances where this would break. This would be used to decide
if we would adjust the behavior of the switch expression to match the proposed behavior for the
conditional expression.
conditional expression.