Fix how variance experiment is enabled in dart2js_extra test

The test runner has logic to merge experiments from shared-options, but not from dart2js-options.

Change-Id: I73fd0f4440edb11750b2d9ee78746bd13d260869
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/140200
Reviewed-by: Mayank Patke <fishythefish@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
This commit is contained in:
Sigmund Cherem
2020-03-20 04:50:30 +00:00
committed by commit-bot@chromium.org
parent c559da805a
commit 98e9b32d84
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// dart2jsOptions= --enable-experiment=variance
// SharedOptions=--enable-experiment=variance
import 'dart:_foreign_helper' show JS;
import 'dart:_rti' as rti;