You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.
<<__Memoize>>
functionlife(): int { return42; }
// Becomes
@__Memoizefunctionlife(): int { return42; }
The typechecker option disallow_silence can be enabled to ban @ error suppression.
The typechecker option allow_new_attribute_syntax can be enabled to allow @Attribute support.
The runtime option hhvm.hack.lang.allow_new_attribute_syntax can be enabled to enable @Attribute support at runtime.
Hack OSS libs have typechecked with disallow_silence enabled since November of 2019. It has not been mentioned on the blog yet, so private codebases may very well still contain a lot of @fopen(__FILE__) code.
The text was updated successfully, but these errors were encountered:
@
has been reserved for new attribute syntax.The typechecker option
disallow_silence
can be enabled to ban@
error suppression.The typechecker option
allow_new_attribute_syntax
can be enabled to allow@Attribute
support.The runtime option
hhvm.hack.lang.allow_new_attribute_syntax
can be enabled to enable@Attribute
support at runtime.Hack OSS libs have typechecked with
disallow_silence
enabled since November of 2019. It has not been mentioned on the blog yet, so private codebases may very well still contain a lot of@fopen(__FILE__)
code.The text was updated successfully, but these errors were encountered: