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
You have to add an annotation to specify type of constants like # @type const B: String.class. You can use --fallback-any-is-error option to identify if unknown (to steep) constant is referred.
Type of a constant cannot be determined until the execution reaches. It may be re-assigned or declaring a new constant in somewhere else may change the result of constant resolution.
(I know this behavior may be unacceptable because it requires too many boilerplates. I am planning to have some new feature to help to declare types of constants.)
https://github.com/stereobooster/diamondback-ruby/tree/master/examples#6
The text was updated successfully, but these errors were encountered: