Ticket #12 (closed enhancement: fixed)

Opened 11 months ago

Last modified 7 months ago

Parameter type constraints?

Reported by: JarrettBillingsley Assigned to: JarrettBillingsley
Priority: major Milestone: MiniD 2
Component: Language Keywords:
Cc:

Description

No, this is not static typing, static typing cannot be performed in MiniD. It just can't.

But basically allow for type constraints on function parameters.

function foo(x : int, y : float, z : string | int, o : SomeObjectType)

Change History

01/14/08 11:51:11 changed by JarrettBillingsley

  • summary changed from Parameter type constraints to Parameter type constraints?.

01/15/08 21:18:17 changed by JarrettBillingsley

  • component changed from component1 to Language.

04/28/08 19:12:03 changed by JarrettBillingsley

  • status changed from new to closed.
  • resolution set to fixed.

(In [293]) Closes #12. No option to turn off parameter type checking in the compiler yet, but that shouldn't be too difficult.