Skip to content

Instantly share code, notes, and snippets.

@bakkdoor
Created December 14, 2010 23:25
Show Gist options
  • Save bakkdoor/741327 to your computer and use it in GitHub Desktop.
Save bakkdoor/741327 to your computer and use it in GitHub Desktop.
require.diff
diff --git a/lib/compiler/ast/require.fy b/lib/compiler/ast/require.fy
index 0e89a5c..7a8d548 100644
--- a/lib/compiler/ast/require.fy
+++ b/lib/compiler/ast/require.fy
@@ -4,10 +4,7 @@ class Fancy AST {
}
def bytecode: g {
- Fancy AST Self new: 1 . bytecode: g
- @string bytecode: g
pos(g)
- g allow_private()
ms = MessageSend new: @line \
message: (Identifier from: "require:" line: @line) \
to: (Identifier from: "Fancy::CodeLoader" line: @line) \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment