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

calling a callable mock class doesn't work #31087

Open
terrylucas opened this Issue Oct 12, 2017 · 1 comment

Comments

Projects
None yet
5 participants
@terrylucas
Member

terrylucas commented Oct 12, 2017

See CL DDC returns

[error] 'foo' isn't a function. (tests/language_2/regress_30121_test.dart, line 17, col 3)

Should work.

@jmesserly jmesserly changed the title from Fix inference problem to calling a callable mock class doesn't work Apr 20, 2018

@jmesserly

This comment has been minimized.

Show comment
Hide comment
@jmesserly

jmesserly Apr 20, 2018

Member

moving this to Analyzer. Analyzer should resolve this to a .call tearoff. It seems to work in CFE.

Member

jmesserly commented Apr 20, 2018

moving this to Analyzer. Analyzer should resolve this to a .call tearoff. It seems to work in CFE.

@bwilkerson bwilkerson added the type-bug label Sep 3, 2018

@bwilkerson bwilkerson added this to the Dart2.1 milestone Sep 3, 2018

@bwilkerson bwilkerson modified the milestones: Dart2.1, PostDart2.1 Sep 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment