Created
December 30, 2016 12:48
-
-
Save firejox/e5346ecb302a5d12e9c59a46a37c8927 to your computer and use it in GitHub Desktop.
error message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error in line 1: while requiring "./channel_spec.cr" | |
in channel_spec.cr:122: instantiating 'AsyncAwait::Channel(T):Class#select_with_csp()' | |
AAChannel.select_with_csp do |x| | |
[32;1m^~~~~~~~~~~~~~~[0m | |
in /home/firejox/develop/async_await/src/async_await/channel.cr:290: instantiating 'AsyncAwait::Channel(T):Class#select()' | |
self.select do |action| | |
[32;1m^~~~~~[0m | |
in /home/firejox/develop/async_await/src/async_await/channel.cr:290: instantiating 'AsyncAwait::Channel(T):Class#select()' | |
self.select do |action| | |
[32;1m^~~~~~[0m | |
in channel_spec.cr:122: instantiating 'AsyncAwait::Channel(T):Class#select_with_csp()' | |
AAChannel.select_with_csp do |x| | |
[32;1m^~~~~~~~~~~~~~~[0m | |
in channel_spec.cr:123: instantiating 'AsyncAwait::Channel::Selector#add_receive_action(AsyncAwait::Channel(Int32))' | |
x.add_receive_action ch1 do |val| | |
[32;1m^~~~~~~~~~~~~~~~~~[0m | |
in /home/firejox/develop/async_await/src/async_await/channel.cr:354: instantiating 'AsyncAwait::Channel(Int32)#receive(AsyncAwait::Channel::SelectCompletionSource(Int32))' | |
ch.receive scs | |
[32;1m^~~~~~~[0m | |
in /home/firejox/develop/async_await/src/async_await/channel.cr:144: instantiating 'receive_impl(AsyncAwait::Channel::SelectCompletionSource(Int32))' | |
receive_impl(tcs) do | |
[32;1m^~~~~~~~~~~~[0m | |
in /home/firejox/develop/async_await/src/async_await/channel.cr:158: instantiating 'Thread::Mutex#synchronize()' | |
@mutex.synchronize do |mtx| | |
[32;1m^~~~~~~~~~~[0m | |
in /home/firejox/develop/async_await/src/async_await/channel.cr:158: instantiating 'Thread::Mutex#synchronize()' | |
@mutex.synchronize do |mtx| | |
[32;1m^~~~~~~~~~~[0m | |
in /home/firejox/develop/async_await/src/async_await/channel.cr:159: instantiating 'loop()' | |
loop do | |
[32;1m^~~~[0m | |
in /home/firejox/develop/async_await/src/async_await/channel.cr:159: instantiating 'loop()' | |
loop do | |
[32;1m^~~~[0m | |
in /home/firejox/develop/async_await/src/async_await/channel.cr:185: instantiating 'Deque(AsyncAwait::TaskCompletionSource(Int32))#push(AsyncAwait::Channel::SelectCompletionSource(Int32))' | |
@queue.push tcs | |
[32;1m^~~~[0m | |
in /home/firejox/develop/crystal/src/deque.cr:404: instantiating 'Pointer(AsyncAwait::TaskCompletionSource(Int32))#[]=(Int32, AsyncAwait::Channel::SelectCompletionSource(Int32))' | |
@buffer[index] = value | |
[32;1m^[0m | |
in /home/firejox/develop/crystal/src/pointer.cr:127: instantiating 'Pointer(AsyncAwait::TaskCompletionSource(Int32))#value=(AsyncAwait::Channel::SelectCompletionSource(Int32))' | |
(self + offset).value = value | |
[32;1m^~~~~[0m | |
in /home/firejox/develop/async_await/src/async_await/channel.cr:56: instantiating 'AsyncAwait::TaskCompletionSource(Int32)+#try_set_value?(Int32)' | |
next unless tcs.try_set_value? value | |
[32;1m^~~~~~~~~~~~~~[0m | |
in /home/firejox/develop/async_await/src/async_await/task_completion_source.cr:29: instantiating 'loop()' | |
loop do | |
[32;1m^~~~[0m | |
in /home/firejox/develop/async_await/src/async_await/task_completion_source.cr:29: instantiating 'loop()' | |
loop do | |
[32;1m^~~~[0m | |
in /home/firejox/develop/async_await/src/async_await/task_completion_source.cr:31: [1mprotected method 'value=' called for AsyncAwait::Task(T)[0m | |
@task.value = value | |
[32;1m^~~~~[0m | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment