language-ruby icon indicating copy to clipboard operation
language-ruby copied to clipboard

Method 'slash' causes highlighting issues

Open blerins opened this issue 9 years ago • 0 comments

Hello,

I'm writing some Ruby code that use slash (/) method and it is highlighted as regexp several times.

class A
  def /
    puts 'ROOT'
    self
  end

  def <
    puts 'ANCESTOR'
    self
  end
end

a = A.new
b = A.new

a./.< == true ? b./.< : b./.<.<

slash

Thanks!

blerins avatar Oct 27 '16 09:10 blerins