-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Crystal bug while compiling #6183
Comments
We'll need to see the source code you try to compile in order to help you. |
Here: require "http/server"
puts "Herro!"
server = HTTP::Server.new(8080) do |context|
context.response.content_type = "text/plain"
context.response.print "Hello world! The time is #{Time.now}"
end
puts "Listening on http://127.0.0.1:8080"
server.listen |
I can't reproduce this error. What Crystal version are you using and which operating system version? Tip: Use triple backticks and put them on a separte line for block code format. Add |
@bcardiff Sorry, it's really fixed, looks like I'm using version older then 0.25 for tests. |
It's great to confirm it works for you in 0.25. I'm wanted to double check. |
I was using the Crystal compiler the first time on Windows Subsystem for Linux(Ubuntu) and got the following error. How can I fix that?
`Poland@Poland:/mnt/e/kurwa/руст$ crystal hello.cr
String contains null byte
???
???
???
???
???
???
???
???
Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues`
The text was updated successfully, but these errors were encountered: