Skip to content

Conversation

HertzDevil
Copy link
Contributor

Removes the following empty line, which is always there for top-level funs:

{% p @top_level.methods.select(&.name.== "main")[0] %}
fun main(argc : Int32, argv : ::Pointer(::Pointer(UInt8))) : Int32
  Crystal.main(argc, argv)

end

@HertzDevil HertzDevil added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:lang:macros labels Jan 10, 2024
@straight-shoota straight-shoota added this to the 1.12.0 milestone Jan 10, 2024
@straight-shoota straight-shoota merged commit 3bf68dd into crystal-lang:master Jan 12, 2024
@HertzDevil HertzDevil deleted the bug/fundef-to_s branch January 26, 2024 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:lang:macros

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants