Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[edt-dev] Even more new Language/Validation updates have been released today

This is the 2nd, and hopefully last set of major language changes that are
going into 0.7 (this week):

   Passing a reference type arg to a value type parm defined as INOUT or
   OUT is no longer allowed. (The previous change was to prevent value
   types from being passed to reference types). The best way to think of
   this is that value types and reference types are NOT reference
   compatible
   Literals are no longer allowed to be passed to INOUT function parms.
   This was supported in RBD because of VAGen.
   Only expressions that are valid on the left hand side of an assignment
   statement are valid to be passed to an INOUT or OUT function parameter.
   Some of the things that RBD allows to be passed to an INOUT parm, for
   instance are: AS expressions, New expressions,  unary expressions (such
   as -myInt). Valid expressions are things like simple name, qualified
   name, array access and dynamic access.
   Constants are no longer allowed to be passed to INOUT function
   parameters.


Please contace me if you have any questions

Paul Harmon
pharmon@xxxxxxxxxx



Back to the top