Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
vala
vala
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 702
    • Issues 702
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 39
    • Merge Requests 39
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • GNOME
  • valavala
  • Issues
  • #749

Closed
Open
Opened Feb 06, 2019 by Corentin Noël@tintouDeveloper

Abstract class constructor in C can't be used in Vala

This is the example https://valadoc.org/camel-1.2/Camel.Sasl.Sasl.html

CamelSasl is an abstract class and camel_sasl_new is just returning a CamelSasl subclass matching the parameters. When using this function in Vala it stands that it Can't create instance of abstract class 'Camel.Sasl' when this is true, vapigen should probably make abstract classes constructors as static and this binding would then be usable.

Edited Feb 06, 2019 by Corentin Noël
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
0.48
Milestone
0.48
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/vala#749