mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
don't autoscope if it's a free-form spec.
This commit is contained in:
parent
cf580ed9cd
commit
155cd68d20
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ module Autoscope
|
|||
end
|
||||
|
||||
def low_level_c_spec?
|
||||
return false unless described_class
|
||||
name = described_class.name.split('::').last
|
||||
return V8::C.const_defined?(name) && V8::C.const_get(name) == described_class
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue