gracelang / minigrace

Self-hosting compiler for the Grace programming language
39 stars 22 forks source link

Fix toGrace methods in ast.grace #265

Closed jwsbrennan closed 6 years ago

jwsbrennan commented 6 years ago

The toGrace method in methodTypeNode now prints its return type as well. Updated toGrace in typeLiteralNode to print as 'interface' instead of 'type'.

Co-Authored-By: vanthuan9 thuan.nguyen@pomona.edu