Module: Jade::Frontend::TypeChecking::Inference::StructDeclaration
Instance Method Summary
collapse
Methods included from Helpers
check, generalize, instantiate, type_from_symbol, unify
Instance Method Details
#infer(node, _, state, _) ⇒ Object
9
10
11
12
13
|
# File 'lib/jade/frontend/type_checking/inference/struct_declaration.rb', line 9
def infer(node, _, state, _)
node => AST::StructDeclaration
[state, Result.init(Type.unit)]
end
|