Commit Graph

2317 Commits

Author SHA1 Message Date
Dan Rubel 242e58d1a6 Update language_2 precompiled status file
Change-Id: Idb056b8d83a94204e0ef5715581ed0cc383cf542
Reviewed-on: https://dart-review.googlesource.com/19446
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Dan Rubel <danrubel@google.com>
2017-11-08 23:03:02 +00:00
Paul Berry 7ea66d538b Strong mode fixes for async_test.dart
Future<dynamic>.then<S>() requires its argument to have type
`(dynamic) -> FutureOr<S>`.

Change-Id: Ifef1ae85d0e59fa00648eb00e96fb0f752b4dbc4
Reviewed-on: https://dart-review.googlesource.com/19401
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2017-11-08 21:25:31 +00:00
Paul Berry 443c531e0e Strong mode fix for generic_methods_test.dart
BinaryTree<num, num>.foldPre<num> requires an argument of type
`(num, num) -> num`.

Change-Id: I2a40c3c69bf234ac64657f87462b88c3b81da25f
Reviewed-on: https://dart-review.googlesource.com/19289
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2017-11-08 20:27:50 +00:00
Paul Berry 16ccd3ae58 Strong mode fix for compile_time_constant10_test.dart
The method CT.test is passed either Expect.isTrue or Expect.isFalse,
both of which expect a second argument of type String.

Change-Id: I4f661d5758b52d4a78df5ab9cae9072d0180739a
Reviewed-on: https://dart-review.googlesource.com/19285
Reviewed-by: Morten Krogh-jespersen <mkroghj@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2017-11-08 20:24:55 +00:00
Dan Rubel d8c174cf09 Update dart2js status files
Change-Id: If6c5e01a093432067f2aae1f35ef2ae96de44e86
Reviewed-on: https://dart-review.googlesource.com/19360
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Dan Rubel <danrubel@google.com>
2017-11-08 20:16:50 +00:00
Paul Berry ce29aa0d6a Strong mode fixes for optimized_guarded_field_isolates_test.dart
The signature for Isolate.spawn requires that the entry point have
type `(dynamic) -> void`.  Previously we were passing in `(SendPort)
-> void` (a more general type).

Change-Id: Ied0803cf01c06fd65ee0746e1a2f988cbc05cf82
Reviewed-on: https://dart-review.googlesource.com/19286
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2017-11-08 20:02:33 +00:00
Paul Berry acf44b36f0 Strong mode fix for issue23244_test.dart
The signature for Isolate.spawn requires that the entry point have
type `(dynamic) -> void`.  Previously we were passing in `(SendPort)
-> void` (a more general type).

Change-Id: I598f9320375c9f8e053b347b0ae08d0b7bba4973
Bug:
Reviewed-on: https://dart-review.googlesource.com/19280
Reviewed-by: Jakob Roland Andersen <jakobr@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2017-11-08 20:02:32 +00:00
Paul Berry cfb26a1af4 Strong mode fixes for function_literals_test.dart
checkIntFunction and checkIntFuncFunction need to be able to handle
different types of functions being passed to them.  The easiest way to
achieve this is to make them generic.

Change-Id: I1afd13fa9514244a33d2ba7ace1f137f01b2f2a8
Reviewed-on: https://dart-review.googlesource.com/19284
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2017-11-08 19:10:40 +00:00
Paul Berry cd3f54621a Test congruence among related async function types.
These tests verify that the static type of an async function/method,
the reified type of a tear-off of that function/method, and the
runtime type of the future it returns, are all consistent with each
other.

Change-Id: Idf1fb77c5ae9445a36e18d2acc15fd45aa3411e5
Reviewed-on: https://dart-review.googlesource.com/19063
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2017-11-08 18:39:51 +00:00
Paul Berry 5b091427d0 Strong mode fix for param2_test.dart
forEach will be passed functions of type `(int) -> int`, so its
signature needs to accept them; previously its signature only accepted
`(dynamic) -> int` (a more specific type).

Change-Id: Ibe7116f05d3c9d73f01c090836a9b11bb7dcf597
Reviewed-on: https://dart-review.googlesource.com/19221
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2017-11-08 18:36:50 +00:00
Dan Rubel f85e1b3be4 Revert "Update status files"
This reverts commit dd921df328.

Reason for revert: Incorrect status file update

Original change's description:
> Update status files
> 
> Change-Id: I0edcc70e5360a790afecc2f03266e80512711e3e
> Reviewed-on: https://dart-review.googlesource.com/19260
> Reviewed-by: Dan Rubel <danrubel@google.com>
> Reviewed-by: Vyacheslav Egorov <vegorov@google.com>

TBR=vegorov@google.com,danrubel@google.com,sigmund@google.com

Change-Id: I5dff79aba9d6dc60f13911ea96d91679c369c3f2
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/19340
Reviewed-by: Dan Rubel <danrubel@google.com>
Commit-Queue: Dan Rubel <danrubel@google.com>
2017-11-08 18:11:51 +00:00
Paul Berry 6ad7b60396 Strong mode fix for type_promotion_functions_test.dart
In strong mode, it is a compile-time error to attempt to pass C to a
function requiring A, since types A and C are unrelated.

Change-Id: Ifdd974ece6d040393ac2945c9393bb9683f09c64
Reviewed-on: https://dart-review.googlesource.com/19220
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2017-11-08 18:03:21 +00:00
Dan Rubel 0360372f7f Revert "Update status files"
This reverts commit fdabeb3039.

Change-Id: Ib329c7e8b2f6bfc55e6aa62a7cfb6ad34941f5f2
Reviewed-on: https://dart-review.googlesource.com/19282
Reviewed-by: Dan Rubel <danrubel@google.com>
2017-11-08 16:38:25 +00:00
Dan Rubel dd921df328 Update status files
Change-Id: I0edcc70e5360a790afecc2f03266e80512711e3e
Reviewed-on: https://dart-review.googlesource.com/19260
Reviewed-by: Dan Rubel <danrubel@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2017-11-08 15:57:17 +00:00
Dan Rubel fdabeb3039 Update status files
Change-Id: I81b406f0fe924f5e92977ca95450e952e7cdec1c
Reviewed-on: https://dart-review.googlesource.com/19240
Reviewed-by: Dan Rubel <danrubel@google.com>
2017-11-08 15:13:35 +00:00
Dan Rubel e893bd576f Fix type annotation parsing
Change-Id: I5f5b76818f50711e5d7165d97b8e2b12f3f17d0e
Reviewed-on: https://dart-review.googlesource.com/19160
Commit-Queue: Dan Rubel <danrubel@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2017-11-08 13:39:00 +00:00
Vyacheslav Egorov 431d32596d [gardening] Update dartkp status files again.
R=kustermann@google.com

Bug:
Change-Id: I9c5d6af6326c4283aa9cff8f0264ce4c9e48bf62
Reviewed-on: https://dart-review.googlesource.com/19185
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
2017-11-08 12:18:41 +00:00
Vijay Menon 6bf9d357b2 Fix declaration order for mixins
Fixes #31290

Bug:31290
Change-Id: I9f1874cf0b9173851655c0b1a2641e06b78a858a
Reviewed-on: https://dart-review.googlesource.com/19024
Commit-Queue: Vijay Menon <vsm@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2017-11-08 00:32:10 +00:00
Sigmund Cherem 5799422d80 Support deferred loading in the kernel pipeline.
Change-Id: I8189a39db57e8cbac1e708a628dfcae70682ef3b
Reviewed-on: https://dart-review.googlesource.com/18685
Commit-Queue: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2017-11-07 23:00:50 +00:00
Vyacheslav Egorov 71978a74b9 [gardening] Update dartkp status files in attempt to make dartkp-release green.
Bug:
Change-Id: Iff6435ba7f69180c0395d278fceb33fc084d8a8c
Reviewed-on: https://dart-review.googlesource.com/19040
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
2017-11-07 17:24:29 +00:00
Dmitry Stefantsov 714dae5ac4 Fix a strong-mode issue in the io-library
Help the compiler to infer types by adding the explicit type argument.

Bug:
Change-Id: I19f0caaf324801d887c6e7a8c782eca667fae069
Reviewed-on: https://dart-review.googlesource.com/18822
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
Reviewed-by: Samir Jindel <sjindel@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2017-11-07 13:44:19 +00:00
Harry Terkelsen 12baebc768 Set outer closure needs 'this' if inner needs 'this' for rti
Change-Id: I46850f2a28abb499fa64266480fc108b38ecbfb9
Reviewed-on: https://dart-review.googlesource.com/18904
Commit-Queue: Harry Terkelsen <het@google.com>
Reviewed-by: Emily Fortuna <efortuna@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2017-11-07 00:17:21 +00:00
Samir Jindel bc9645509e Revert "Revert "[kernel] Fix NoSuchMethod errors for generic functions.""
This un-revert fixes the issues revealed in https://logs.chromium.org/v/?s=chromium%2Fbb%2Fclient.dart%2Fvm-kernel-mac-release-x64-be%2F2217%2F%2B%2Frecipes%2Fsteps%2Fvm_tests%2F0%2Fstdout.

Patchset 1 contains the original revision unmodified.

This reverts commit 9029ee09c5.

Bug:
Change-Id: I109c011c2688144b00293ce50b3aad53e018a2f2
Reviewed-on: https://dart-review.googlesource.com/18340
Reviewed-by: Régis Crelier <regis@google.com>
2017-11-06 17:07:38 +00:00
Erik Ernst 40b6741778 Adds support for syntax error in tests to test.py.
This CL modifies the Dart source used from test.py such that it takes
`syntax error` into account as an expected outcome in test files (so
that we can have `//# 01: syntax error` with a similar meaning as
`//# 01: compile-time error`).

For all tools except the spec_parser, `syntax error` is the same
outcome as `compile-time error`; that is, nobody else will see the
difference.

For the spec_parser, `syntax error` is the outcome where parsing has
failed; `compile-time error` is taken to mean some other compile-time
error, i.e., the spec_parser is expected to _succeed_ when the
expected outcome is `compile-time error`.

Test files in language and language_2 have been adjusted to use the
outcome `syntax error` where appropriate.

The status files in language and language_2 for the spec_parser have
been adjusted such that they fit all the new `syntax error` outcomes
in test files.

Other status files have been adjusted in a few cases where tests were
corrected (because a compile-time error which was clearly not intended
to be a syntax error turned out to be caused by a typo, which means
that the actual compile-time error has never been tested).

The spec grammar Dart.g was adjusted in a few cases, when some bugs
were discovered. In particular, the treatment of Function has been
changed: It is now known by the parser that Function does not take
any type arguments. This makes no difference for developers, because
they cannot declare a type named Function anyway, but it means that
a number of tricky parsing issues were resolved.

Dart.g was also adjusted to allow `qualified` to contain three
identifiers, which is an old bug (preventing things like metadata on
the form `@p.C.myConst`).

Change-Id: Ie420887d45c882ef97c84143365219f8aa0d2933
Reviewed-on: https://dart-review.googlesource.com/18262
Commit-Queue: Erik Ernst <eernst@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2017-11-06 08:56:09 +00:00
Jenny Messerly 384678e4b3 port DDC's code_generator to Kernel
Change-Id: I2b6a5f56a69f5d3a965aefc3f8d4550d5940ac5a
Reviewed-on: https://dart-review.googlesource.com/17980
Reviewed-by: Vijay Menon <vsm@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2017-11-04 22:17:56 +00:00
Paul Berry cd49cf1201 Insert implicit downcasts for compound assignments.
Change-Id: I090594e16fa890864775b2ebc58842d861c134a4
Reviewed-on: https://dart-review.googlesource.com/18517
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2017-11-03 22:07:10 +00:00
Lasse R.H. Nielsen adcb6a7399 Make main invocation not fail strong-mode type checking.
Bug: http://dartbug.com/31270
Change-Id: Id6ad2a429d5dc44b437a0fdd8fb4889d3dccf194
Reviewed-on: https://dart-review.googlesource.com/18480
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2017-11-03 16:06:00 +00:00
Jens Johansen 8463e79798 Update dart2js kernel status file
It seems that e3c11c2703 missed this.

Bug:
Change-Id: I9573df4762ebc59706b88def2924bf72be5bdbcd
Reviewed-on: https://dart-review.googlesource.com/18560
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2017-11-03 15:34:10 +00:00
Aske Simon Christensen e3c11c2703 Retain erroneous import, export and part (of) directives
If the URI of a directive is invalid, use a special URI with a
scheme marking it as malformed. In the loader, treat a file with
an invalid URI as empty.

Order all dependencies (imports and exports) by source position to
allow the DietListener to match them up properly with metadata.

For the same reason, add imports and exports within parts to
dependencies even though they are not permitted here.

Closes https://github.com/dart-lang/sdk/issues/30997
Closes https://github.com/dart-lang/sdk/issues/31004

Change-Id: Ic7efd0da058c246531c165508b7474475b4bdad2
Reviewed-on: https://dart-review.googlesource.com/17901
Commit-Queue: Aske Simon Christensen <askesc@google.com>
Reviewed-by: Peter von der Ahé <ahe@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2017-11-03 12:55:19 +00:00
Samir Jindel 9029ee09c5 Revert "[kernel] Fix NoSuchMethod errors for generic functions."
This reverts commit 52e1466588.

Bug:
Change-Id: Ic1b37a5df2f50ede4f6873b6d2a701663673bcbb
Reviewed-on: https://dart-review.googlesource.com/18261
Reviewed-by: Zach Anderson <zra@google.com>
2017-11-02 16:52:32 +00:00
Samir Jindel 52e1466588 [kernel] Fix NoSuchMethod errors for generic functions.
Bug:
Change-Id: I8ad90e34a7b1f77b29f1d711f158bcb69f5928f4
Reviewed-on: https://dart-review.googlesource.com/17941
Commit-Queue: Samir Jindel <sjindel@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
2017-11-02 15:16:08 +00:00
Paul Berry 8620e6b24a Insert implicit downcasts for ??= assignments.
Change-Id: I272eeea96a19ad5c781113211ee466f844ffbe4b
Reviewed-on: https://dart-review.googlesource.com/17240
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2017-10-31 15:58:55 +00:00
Paul Berry 9cd3df3b29 Fix expectations for new test language_2/implicit_downcast_during_assignment_test
Change-Id: I136ccca30eb30be8d911e70fd68bd10647297b85
Reviewed-on: https://dart-review.googlesource.com/17302
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2017-10-30 18:24:46 +00:00
Samir Jindel cde1996372 [kernel] Produce type error for 'AsExpression's marked as such.
Bug:
Change-Id: I0c6ecc619f202867d17f5fbb28af0ef9dbc40d08
Reviewed-on: https://dart-review.googlesource.com/17260
Commit-Queue: Samir Jindel <sjindel@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2017-10-30 18:05:04 +00:00
Paul Berry a08147a143 Add a language test to validate implicit downcasts during assignments.
Change-Id: If960a713615283952167a7837bc2e5d46a7de9bd
Reviewed-on: https://dart-review.googlesource.com/17042
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2017-10-30 14:58:56 +00:00
Stephen Adams 72a1f622b2 dart2js kernel status update
TBR=rnystrom@google.com

Bug:
Change-Id: I25b07112782773b90e25521cde03df2cfb89bcc7
Reviewed-on: https://dart-review.googlesource.com/17120
Reviewed-by: Stephen Adams <sra@google.com>
2017-10-28 17:34:14 +00:00
Jenny Messerly 9bd19a49da Fixing renaming on top-level member
Fixes #31117

Change-Id: I7210ceb505963a547e244ae743a99b8688af2e48
Reviewed-on: https://dart-review.googlesource.com/14240
Commit-Queue: Jenny Messerly <jmesserly@google.com>
Reviewed-by: Jenny Messerly <jmesserly@google.com>
2017-10-28 01:29:38 +00:00
Bob Nystrom ba84855c0a Migrate the lingering language_strong tests over to language_2.
Change-Id: I4d60b650a2146c1d9be0fd0c5f98eac85f9e2eb1
Reviewed-on: https://dart-review.googlesource.com/16333
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
2017-10-27 23:44:08 +00:00
Jenny Messerly 0aa6801f8a fix function type printing in DDC to match VM
Change-Id: I2e15d34c8a40d9ed86b44f5c3db7052fb7c8a783
Reviewed-on: https://dart-review.googlesource.com/14780
Commit-Queue: Jenny Messerly <jmesserly@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
2017-10-27 22:35:20 +00:00
Paul Berry 7703665e2c Fix status file update from 6f9d6965fe
This should fix the "vm-app" buildbots

Change-Id: I187bf5a55eb71e58d3db9d3e2959fcddf4e44f14
Reviewed-on: https://dart-review.googlesource.com/17047
Reviewed-by: Jaime Wren <jwren@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2017-10-27 21:58:22 +00:00
Paul Berry ae58a1a2f2 Mark disassemble_test as slow
It fails sporadically when I run dartk tests locally.

Change-Id: I935a1202595b35e534a2936bd3afc4c0b02ddf59
Reviewed-on: https://dart-review.googlesource.com/17041
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2017-10-27 20:10:57 +00:00
Paul Berry 6f9d6965fe Insert implicit downcasts for simple assignments.
Notes on test changes:

- This revealed runtime failures in some tests in
  pkg/front_end/testcases/inference.  Since these tests were never
  meant to exercise runtime behavior in the first place, I just
  changed them so that main() does nothing.

- This revealed runtime failures in some tests in tests/language_2.
  These tests began failing because they used "var" for a fields and
  then later assigned a value to the field that was incompatible with
  the inferred type.  It looks like the intent was for these fields to
  have type "dynamic", so I changed the tests accordingly.

Change-Id: I0ddb2063427b52b5e4be1884fa333e25be4bf4f3
Reviewed-on: https://dart-review.googlesource.com/16881
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2017-10-27 18:27:09 +00:00
Johnni Winther 1ec13c46cb Update dart2js-with-kernel status
Bug:
Change-Id: I4d1304fca6c46c835ffa212e37fc71ed7ed1384d
Reviewed-on: https://dart-review.googlesource.com/16941
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2017-10-27 09:53:21 +00:00
Jenny Messerly 77775c5292 Unroll mixins in DDC, so each mixin application is generated
This is for compatibility with Kernel, as well as fixing several bugs,
and generally being a more robust architecture.

This may also perform better than the current design.

Notable fixes include several issues around deferred classes.

Change-Id: I1b6f44ebdf6304b10b47d19026156a25e04146ef
Reviewed-on: https://dart-review.googlesource.com/16337
Commit-Queue: Jenny Messerly <jmesserly@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2017-10-27 04:26:44 +00:00
Sigmund Cherem a8d13565cd Add support for deferred loading in fasta
Change-Id: I2a5489b618210935b4b21c583aba9738a5e3f645
Reviewed-on: https://dart-review.googlesource.com/13441
Reviewed-by: Peter von der Ahé <ahe@google.com>
2017-10-26 23:22:48 +00:00
Ben Konyi 442ec225d6 Gardening: updated status file to no longer expect DartkCrash for mixin_bound_test.
Bug:
Change-Id: I951ba44024696ceba31b31de2975b01ae8133591
Reviewed-on: https://dart-review.googlesource.com/16861
Reviewed-by: Ben Konyi <bkonyi@google.com>
2017-10-26 19:26:31 +00:00
Sigmund Cherem 5d2613d632 Status updates for vm-kernel in strong mode
Change-Id: I93a4429822f374741b0211e755ed9d5b1b43fe23
Reviewed-on: https://dart-review.googlesource.com/16623
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2017-10-25 20:25:49 +00:00
Bob Nystrom 6f0b6b4937 Get rid of lib files in tests.
Dart has not had lib files for something like five years.

Change-Id: I3f9650e6e600e60de6ba5a6e757a6ca06df15f04
Reviewed-on: https://dart-review.googlesource.com/16321
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Janice Collins <jcollins@google.com>
2017-10-25 19:52:16 +00:00
Stephen Adams 9a5b1632ee dart2js kernel language, language_2 status
TBR=het@google.com

Change-Id: I3ba3a99584b8e9c0ee0793d35e0ef5ef0030ca56
Reviewed-on: https://dart-review.googlesource.com/16606
Reviewed-by: Stephen Adams <sra@google.com>
2017-10-25 18:07:07 +00:00
Samir Jindel 55eb75d56f [kernel] Delay type finalization when parsing function types.
Currently, the Kernel FE doesn't set up parent pointers correctly for
signature function types. This prevents type parameters on generic
function types from being finalized correctly. In addition, finalization
of generic interface types within a generic function type can crash if they
reference not-yet-finalized type parameters of the enclosing function type.

This review solves both issues. Several failing tests pass again, although
more thorough testing is blocked on Github issue #31213 (nested generic function
types crashing in Fasta).

Bug:
Change-Id: Ib5ee6b2566492e3fd6688fe5a6b6976692562ea1
Reviewed-on: https://dart-review.googlesource.com/16360
Reviewed-by: Régis Crelier <regis@google.com>
2017-10-25 10:36:57 +00:00