bd13fc128d
When named argument are used before positional, front-end can insert additional temporary variables in order to keep original evaluation order. As a result, List factory specialization was not able to match constant arguments such as 'growable: false' in the AST. This change fixes this problem by adding extra unwrapping of final variables before matching constant arguments during list factory specialization. TEST=pkg/vm/testcases/transformations/type_flow/transformer/lists.dart Fixes https://github.com/dart-lang/sdk/issues/51252 Change-Id: If69789ba15aed28a3c1f137a09b3b77f719f437e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/281240 Commit-Queue: Johnni Winther <johnniwinther@google.com> Auto-Submit: Alexander Markov <alexmarkov@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>