Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix defined? for a private predicate

Fixes #1618.
  • Loading branch information...
commit c35e7f6749a1d4c71cd6308eea21ed5120c6ca31 1 parent e0d2bdb
@jfirebaugh jfirebaugh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/compiler/ast/sends.rb
View
2  lib/compiler/ast/sends.rb
@@ -79,7 +79,7 @@ def defined(g)
g.push_literal @name
- if @vcall_style
+ if @vcall_style or @privately
g.push :true
g.send :__respond_to_p__, 2
else
Please sign in to comment.
Something went wrong with that request. Please try again.