#1019 Ruby lexer errors (suite)

Feature_Request
closed-rejected
Neil Hodgson
Scintilla (789)
3
2012-05-04
2010-09-03
Anonymous
No

Sorry I forgot one thing.
5) Inheritance
class A < B
B could have the class color too.

Discussion

  • Neil Hodgson
    Neil Hodgson
    2010-09-03

    I think the reason for A being highlighted rather than B is that this is the definition of A and the mention of B is just a use, not a definition.

     
  • Neil Hodgson
    Neil Hodgson
    2010-09-03

    • assigned_to: nobody --> nyamatongwe
    • priority: 5 --> 3
    • milestone: 100660 --> Feature_Request
     
  • Sam Rawlins
    Sam Rawlins
    2012-05-04

    This is definitely true. As a matter of fact, a class can inherit from an object:

    foo = String
    class SuperString < foo
    ...
    end

    I think not a bug.

     
  • Neil Hodgson
    Neil Hodgson
    2012-05-04

    OK, rejecting.

     
  • Neil Hodgson
    Neil Hodgson
    2012-05-04

    • status: open --> closed-rejected