lib/rbs/environment.rb in rbs-0.13.1 vs lib/rbs/environment.rb in rbs-0.14.0

- old
+ new

@@ -11,10 +11,10 @@ module ContextUtil def context @context ||= begin (outer + [decl]).each.with_object([Namespace.root]) do |decl, array| - first = array.first or raise + first = array.first or raise array.unshift(first + decl.name.to_namespace) end end end end