Skip to content

Support for GenericFunctionTypeElementImpl #1495

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
scheglov opened this issue Sep 6, 2017 · 2 comments · Fixed by #1497
Closed

Support for GenericFunctionTypeElementImpl #1495

scheglov opened this issue Sep 6, 2017 · 2 comments · Fixed by #1497
Assignees
Labels
P1 A high priority bug; for example, a single project is unusable or has many test failures

Comments

@scheglov
Copy link
Contributor

scheglov commented Sep 6, 2017

The crash log.

When dart-lang/sdk@a3f8740 is not rolled back.

@jcollins-g

stderr:  
 warning: unresolved doc reference [apply], from dart-js: (file:///b/build/slave/dart-sdk-linux-be/build/sdk/out/ReleaseIA32/dart-sdk/lib/js/dart2js/js_dart2js.dart:88:9)
Generation failed: Unknown type GenericFunctionTypeElementImpl
package:dartdoc/src/model.dart 1991:34                        new ModelElement.from
package:dartdoc/src/model.dart 3905:13                        new Parameter
package:dartdoc/src/model.dart 1988:31                        new ModelElement.from
package:dartdoc/src/model.dart 2516:25                        ModelElement.parameters.<fn>
dart:_internal                                                ListIterable.toList
package:dartdoc/src/model.dart 2517:10                        ModelElement.parameters
package:dartdoc/src/model.dart 2608:9                         ModelElement.linkedParams
package:dartdoc/src/model.dart 2411:40                        ModelElement.linkedParamsNoMetadata
dart:mirrors                                                  _LocalInstanceMirror.getField
package:mustache4dart/mustache_context.dart 335:19            _ObjectReflectorDeclaration.value
package:mustache4dart/mustache_context.dart 264:24            _ObjectReflector.[]
package:mustache4dart/mustache_context.dart 144:26            _MustacheContext._getActualValue
package:mustache4dart/mustache_context.dart 105:13            _MustacheContext._getMustachContext
package:mustache4dart/mustache_context.dart 101:12            _MustacheContext._getContextForKey
package:mustache4dart/mustache_context.dart 74:18             _MustacheContext._getInThisOrParent
package:mustache4dart/mustache_context.dart 70:12             _MustacheContext.[]
package:mustache4dart/src/tokens.dart 163:18                  _ExpressionToken.apply
package:mustache4dart/src/tokens.dart 40:18                   Token.call
package:mustache4dart/src/tmpl.dart 101:20                    _Template._write
package:mustache4dart/src/tmpl.dart 76:5                      _Template.call
package:mustache4dart/src/mustache.dart 11:64                 render
package:mustache4dart/src/tokens.dart 205:16                  _PartialToken.apply
package:mustache4dart/src/tokens.dart 280:57                  _StartSectionToken.apply.<fn>.<fn>
package:mustache4dart/src/tokens.dart 303:8                   _StartSectionToken.forEachUntilEndSection
package:mustache4dart/src/tokens.dart 280:9                   _StartSectionToken.apply.<fn>
dart:core                                                     Iterable.forEach
package:mustache4dart/src/tokens.dart 279:11                  _StartSectionToken.apply
package:mustache4dart/src/tokens.dart 293:53                  _StartSectionToken.apply.<fn>
package:mustache4dart/src/tokens.dart 303:8                   _StartSectionToken.forEachUntilEndSection
package:mustache4dart/src/tokens.dart 293:5                   _StartSectionToken.apply
package:mustache4dart/src/tokens.dart 40:18                   Token.call
package:mustache4dart/src/tmpl.dart 101:20                    _Template._write
package:mustache4dart/src/tmpl.dart 76:5                      _Template.call
package:dartdoc/src/html/html_generator_instance.dart 303:30  HtmlGeneratorInstance._build
package:dartdoc/src/html/html_generator_instance.dart 198:5   HtmlGeneratorInstance.generateLibrary
package:dartdoc/src/html/html_generator_instance.dart 99:7    HtmlGeneratorInstance._generateDocs
package:dartdoc/src/html/html_generator_instance.dart 47:7    HtmlGeneratorInstance.generate
package:dartdoc/src/html/html_generator.dart 74:22            HtmlGenerator.generate
package:dartdoc/dartdoc.dart 187:23                           DartDoc.generateDocs
third_party/pkg/dartdoc/bin/dartdoc.dart 200:44               main.<fn>
package:stack_trace                                           Chain.capture
third_party/pkg/dartdoc/bin/dartdoc.dart 199:9                main
@devoncarew devoncarew added the P1 A high priority bug; for example, a single project is unusable or has many test failures label Sep 6, 2017
@jcollins-g jcollins-g self-assigned this Sep 6, 2017
@jcollins-g
Copy link
Contributor

This actually is not the same as the other issue I was pursuing. Working on it now, though.

@jcollins-g
Copy link
Contributor

Unfortunately, dart-lang/sdk@a3f8740 actually fixes some bugs in a way that makes it difficult to build a dartdoc that passes tests for both versions of the analyzer. Working on a solution for that, which may involve putting an unpublished dartdoc in the SDK for now until a new analyzer is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 A high priority bug; for example, a single project is unusable or has many test failures
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants