lib/tapioca/compilers/symbol_table/symbol_generator.rb in tapioca-0.2.7 vs lib/tapioca/compilers/symbol_table/symbol_generator.rb in tapioca-0.2.8

- old
+ new

@@ -424,10 +424,10 @@ SymbolLoader.ignore_symbol?(symbol_name) end sig { params(path: String).returns(T::Boolean) } def path_in_gem?(path) - path.start_with?(gem.full_gem_path) + File.realpath(path).start_with?(gem.full_gem_path) end SPECIAL_METHOD_NAMES = %w[! ~ +@ ** -@ * / % + - << >> & | ^ < <= => > >= == === != =~ !~ <=> [] []= `] sig { params(name: String).returns(T::Boolean) }