From 5b7c98f50bbb0fba275f382dc4d58c4f89477604 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Mon, 26 Oct 2015 22:22:38 +0200 Subject: [PATCH] order requires --- lib/soml/compiler.rb | 4 ++-- test/compiler/statements/test_all.rb | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/soml/compiler.rb b/lib/soml/compiler.rb index dd78597c..0644622e 100644 --- a/lib/soml/compiler.rb +++ b/lib/soml/compiler.rb @@ -64,14 +64,14 @@ require_relative "compiler/assignment" require_relative "compiler/basic_values" require_relative "compiler/call_site" require_relative "compiler/class_field" +require_relative "compiler/class_statement" require_relative "compiler/collections" -require_relative "compiler/statement_list" require_relative "compiler/field_def" require_relative "compiler/field_access" require_relative "compiler/function_definition" require_relative "compiler/if_statement" -require_relative "compiler/class_statement" require_relative "compiler/name_expression" require_relative "compiler/operator_value" require_relative "compiler/return_statement" +require_relative "compiler/statement_list" require_relative "compiler/while_statement" diff --git a/test/compiler/statements/test_all.rb b/test/compiler/statements/test_all.rb index dbe9e8ae..c61b84e7 100644 --- a/test/compiler/statements/test_all.rb +++ b/test/compiler/statements/test_all.rb @@ -1,5 +1,6 @@ -require_relative "test_if" -require_relative "test_return" require_relative "test_assign" require_relative "test_call" +require_relative "test_class" +require_relative "test_if" +require_relative "test_return" require_relative "test_while"