Skip to content
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

printing method types #44

Closed
paulp opened this issue Mar 11, 2015 · 3 comments
Closed

printing method types #44

paulp opened this issue Mar 11, 2015 · 3 comments
Labels

Comments

@paulp
Copy link

paulp commented Mar 11, 2015

Why do I get to know the type of val f but not of def f?

@ def f: Int -> String = 5 -> ""
defined function f
@ val f: Int -> String = 5 -> ""
f: psp.std.->[psp.std.Int,psp.std.String] = 5 ->
@

It seems you're not printing any methods types. This seems a significant omission.

@lihaoyi
Copy link
Member

lihaoyi commented Mar 11, 2015

Sure, we should add them. Didn't realize the scala repl did this so just monkeyed its behavior for classes and objects and traits

@lihaoyi
Copy link
Member

lihaoyi commented Aug 16, 2015

If anyone wants to take a crack at it go ahead

@lihaoyi
Copy link
Member

lihaoyi commented Sep 13, 2015

Closing as Wishlist; if someone wants to do it then great, but I have no plans to tackle this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants