Amend NewClassExpr description

Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
This commit is contained in:
Chris Smowton
2023-10-24 12:51:42 +01:00
committed by GitHub
parent e3edea2a5f
commit ede17585a6

View File

@@ -1252,7 +1252,7 @@ class ClassInstanceExpr extends Expr, ConstructorCall, @classinstancexpr {
}
/**
* An explicit `new ClassName(...)` expression.
* An explicit `new TypeName(...)` expression.
*
* Note this does not include implicit instance creation such as lambda expressions
* or `instanceVar::methodName` references. To include those too, use `ClassInstanceExpr`.