Boo

BCE0090 not fired when reducing accessibility of a derived method from 'internal' to 'private'

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 0.8.2
  • Fix Version/s: 0.9
  • Component/s: Compiler
  • Labels:
    None
  • Testcase included:
    yes
  • Number of attachments :
    0

Description

Testcase:

"""
BCE0090-3.boo(10,17): BCE0090: Derived method 'Derived.Foo' can not reduce the accessibility of 'Base.Foo' from 'internal' to 'private'.
"""

class Base:
	internal def Foo():
		pass

class Derived(Base):
	private def Foo():
		pass

Activity

Hide
Cedric Vivier added a comment -

Fixed in rev. 3114

Show
Cedric Vivier added a comment - Fixed in rev. 3114

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: