0
水晶有多行注释吗?如Ruby的作用:水晶多行注释
=begin
this is a
multiline
comment in Ruby
=end
这将只是给我一个错误在Crystal:
unexpected token: =
水晶有多行注释吗?如Ruby的作用:水晶多行注释
=begin
this is a
multiline
comment in Ruby
=end
这将只是给我一个错误在Crystal:
unexpected token: =
水晶没有多行注释。只需在#
单行注释的前面添加要注释的行块即可。你的编辑应该能够为你做到这一点。