Closed DavePearce closed 2 years ago
One question is whether we need Decl.FunctionOrMethodOrProperty
or various combinations thereof?
Currently, we have Decl.Callable
which captures everything which could be called (e.g. Variant
), whilst Decl.FunctionOrMethod
captures those things which have bodies (and potentially specifications). I think properties might desire preconditions at some point.
This is to implement RFC#102, by generalising the property syntax. To Do:
FlowTypeChecker
FunctionalCheck
DefiniteAssignmentCheck
Interpreter
AbstractConsumer
/AbstractVisitor
/ etcAbstractTranslator
Type.Variant
as an extension ofType.Callable
.