Fixing bug with constructor.
This commit is contained in:
parent
c9ba5c03f0
commit
7663b31788
1 changed files with 1 additions and 1 deletions
2
oop.sh
2
oop.sh
|
@ -91,7 +91,7 @@ _createObject() {
|
|||
type=$1
|
||||
associatedFile=$2
|
||||
varName=$3
|
||||
constructorArguments=${@:4}
|
||||
constructorArguments="${@:4}"
|
||||
|
||||
# Declare dummy constructor.
|
||||
eval "$varName.constructor() { :; }"
|
||||
|
|
Loading…
Reference in a new issue