3719dbf671
Now that type parameters can occur nested within type literals there is no reason to special-case type parameters. Now that we don't consider type literals to be always constant, it is safe to remove this extra check and handle type parameters the same as a generic type literal containing a type parameter. Change-Id: I887d162e20fd29f3285d73149927e51e1f1d1753 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/264894 Reviewed-by: Stephen Adams <sra@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>