Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • vala vala
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 734
    • Issues 734
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 55
    • Merge requests 55
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • valavala
  • Issues
  • #41

Closed
Open
Created Aug 18, 2009 by Bugzilla@bugzilla-migration💬Reporter

Expanding type of arguments/return type

Submitted by Maciej Marcin Piechotka @mpiechotka

Link to original bug (#592235)

Description

If superclass have method: public virtual MyClass fun(); It should be allowed to declare in subclass: public override MySubclass fun(); where MySubclass is descendant (implementation of interface, subclass or subinterface) of MyClass.

With arguments it should be:

  • For in: The broader scope (superclasses etc.)
  • For out: The narrower scope as with return type
  • For ref: Not allowed

Please not it is very similar to bug 575439

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking