Skip to content

[Bug] Class properties are unchecked #720

@Luna-Klatzer

Description

@Luna-Klatzer

Is there an existing issue for this?

  • I have searched the existing issues

I am following the documentation's guide

  • I have read the documentation

This issue exists in the latest version

  • I am using the latest version

Current Behavior

Class properties are unchecked and can potentially remain undefined, as the constructor does not verify all specified required properties are defined with a value. This is a major bug!

Expected Behavior

  • The class constructor or the properties themselves should mark themselves as faulty, as the required class properties are partially or fully undefined.

Steps To Reproduce

  1. Create a class with any number of properties.
  2. Write a constructor that does not define some or all of the properties.
  3. See missing error during compilation.

Environment

  • Kipper: 0.12.1
  • Environment: All
  • Operating System: All

Metadata

Metadata

Assignees

Labels

bugBug or issue in the language or APIhigh priorityHigh priority issue, discussion or pull request

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions