Skip to content

Commit 6ae8a3f

Browse files
author
Suwei Chen
committed
Remove redundant terms in PR#1027
chakra-core#1027
1 parent f91dba1 commit 6ae8a3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Runtime/Types/ScriptFunctionType.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace Js
3131
scriptContext, functionPrototype,
3232
address,
3333
proxy->GetDefaultEntryPointInfo(),
34-
library->ScriptFunctionTypeHandler(!proxy->IsConstructor() || proxy->IsAsync() || proxy->IsClassMethod(), proxy->GetIsAnonymousFunction()),
34+
library->ScriptFunctionTypeHandler(!proxy->IsConstructor(), proxy->GetIsAnonymousFunction()),
3535
isShared, isShared);
3636
}
3737
};

0 commit comments

Comments
 (0)