diff --git a/oop.sh b/oop.sh index 0e71125..6df8ba5 100644 --- a/oop.sh +++ b/oop.sh @@ -91,7 +91,7 @@ _createObject() { type=$1 associatedFile=$2 varName=$3 - constructorArguments=${@:4} + constructorArguments="${@:4}" # Declare dummy constructor. eval "$varName.constructor() { :; }"