Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: bclark on August 04, 2006, 04:22:33 pm
-
Creating an operation with type hinted parameters generates code correctly, but when synch'ing with source operation is removed.
Operation foo
Parameters:
[inout] files: array, private: var
Generates Code as:
public function foo(array &$files, $private = false)
Now add a parameter:
public function foo(array &$files, $private = false, array &$extras = null)
And Sync with code.
Result: Operation disapears from model.
-
It looks like any by reference parameter with a type hint is causing a parser to fail to parse that method. As a result EA is removing the method from the model when reverse engineering (and would cause a duplicate method when forward engineering)
We'll fix this up in a future build.