Boo

Honor generic parameter constraints when constructing generic types

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 0.7.6
  • Fix Version/s: 0.8.1
  • Component/s: Compiler, Type System
  • Labels:
    None
  • Number of attachments :
    0

Description

The compiler should check, when constructing generic types, that the constraints imposed on generic parameters are not violated.
For example, Nullable of T requires that T is a value-type, etc.

Issue Links

Activity

Hide
Avishay Lavie added a comment -

Implemented in latest revisions.

Show
Avishay Lavie added a comment - Implemented in latest revisions.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: