Fixing bug with constructor.

main
Ad5001 9 months ago
parent c9ba5c03f0
commit 7663b31788
Signed by: Ad5001
GPG Key ID: EF45F9C6AFE20160
  1. 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…
Cancel
Save