We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When hovering over a function its full return type and effects are shown.
This is in contrast to our usual presentation where we would omit the empty set of effects and just say show returns a String (but not String / {}).
show
String
String / {}
The code that renders function declarations is here:
effekt/effekt/shared/src/main/scala/effekt/symbols/DeclPrinter.scala
Lines 86 to 89 in 80467d8
and should be adapted to print effects similar to the TypePrinter:
effekt/effekt/shared/src/main/scala/effekt/symbols/TypePrinter.scala
Line 76 in 80467d8
Optional: Maybe some logic between TypePrinter and DeclPrinter can be deduplicated
The text was updated successfully, but these errors were encountered:
I sort of like this though as it's explicit about the effects a function has. But I'm fine with removing it.
Sorry, something went wrong.
No branches or pull requests
When hovering over a function its full return type and effects are shown.
This is in contrast to our usual presentation where we would omit the empty set of effects and just say
show
returns aString
(but notString / {}
).The code that renders function declarations is here:
effekt/effekt/shared/src/main/scala/effekt/symbols/DeclPrinter.scala
Lines 86 to 89 in 80467d8
and should be adapted to print effects similar to the TypePrinter:
effekt/effekt/shared/src/main/scala/effekt/symbols/TypePrinter.scala
Line 76 in 80467d8
Optional: Maybe some logic between TypePrinter and DeclPrinter can be deduplicated
The text was updated successfully, but these errors were encountered: