Skip to content

Frog fails to treat generic factory methods as true generic methods with a type scope #578

Closed
@DartBot

Description

@DartBot

This issue was originally filed by jimhug@google.com


This leads to two warnings when compiling frog with itself.

leg/util/link_implementation.dart:10:27: warning: cannot find type T
      tail = new LinkTail<T>(); // Frog bug: T is in scope.
                          ^
leg/util/link_implementation.dart:13:26: warning: cannot find type T
    return new LinkEntry<T>(head, tail); // Frog bug: T is in scope.
                         ^

Swallowing my annoyance and just implementing the damn feature...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions