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
getting a compilation error using Markd.to_html(markdown)
Markd.to_html(markdown)
In lib/markd/src/markd/parsers/inline.cr:460:26 460 | "\u{2014}" * em_count + "\u{2013}" * en_count ^ Error: no overload matches 'String#*' with type (Float64 | Int32) Overloads are: - String#*(times : Int) Couldn't find overloads for these types: - String#*(times : Float64)
shards.yml
markd: github: icyleaf/markd version: 0.1.2
If I change to "\u{2014}" * em_count.to_i + "\u{2013}" * en_count.to_i then it compiles and seems to work.
"\u{2014}" * em_count.to_i + "\u{2013}" * en_count.to_i
The text was updated successfully, but these errors were encountered:
I fixed this on my branch and then noticed it's already been fixed on master.
In Crystal 0.31 3/2 => 1.5
3/2 => 1.5
I don't see that in the breaking change list...
Apparently 3//2 => 1 though.
crystal-lang/crystal#8120
Sorry, something went wrong.
@icyleaf Is master stable enough to be released as 0.2.0?
I'm on vacation now, you can use master branch.
master
Close for no response, feel free to file new issue or reopen.
@icyleaf Thanks for releasing a fix.
No branches or pull requests
getting a compilation error using
Markd.to_html(markdown)
shards.yml
If I change to
"\u{2014}" * em_count.to_i + "\u{2013}" * en_count.to_i
then it compiles and seems to work.The text was updated successfully, but these errors were encountered: