gotypes: saving progress (temporarily broken tests)

This commit is contained in:
Michael McLoughlin
2018-12-07 18:37:42 -08:00
parent c86ef5ecae
commit bbbf6399a1
4 changed files with 187 additions and 4 deletions

4
ast.go
View File

@@ -155,12 +155,12 @@ func (f *Function) Instructions() []*Instruction {
// FrameBytes returns the size of the stack frame in bytes.
func (f *Function) FrameBytes() int {
// TODO(mbm): implement
// TODO(mbm): implement Function.FrameBytes()
return 0
}
// ArgumentBytes returns the size of the arguments in bytes.
func (f *Function) ArgumentBytes() int {
// TODO(mbm): implement
// TODO(mbm): implement Function.ArgumentBytes()
return 0
}