Fixing bug with constructor.

This commit is contained in:
Ad5001 2022-01-02 00:25:14 +01:00
parent c9ba5c03f0
commit 7663b31788
Signed by: Ad5001
GPG Key ID: EF45F9C6AFE20160
1 changed files with 1 additions and 1 deletions

2
oop.sh
View File

@ -91,7 +91,7 @@ _createObject() {
type=$1 type=$1
associatedFile=$2 associatedFile=$2
varName=$3 varName=$3
constructorArguments=${@:4} constructorArguments="${@:4}"
# Declare dummy constructor. # Declare dummy constructor.
eval "$varName.constructor() { :; }" eval "$varName.constructor() { :; }"