These are chat archives for Codcore/amethyst

28th
Jun 2015
Bar Hofesh
@bararchy
Jun 28 2015 12:04
@Codcore would you want a Middleware::ReverseProxy ?
Bar Hofesh
@bararchy
Jun 28 2015 15:33
@Codcore ok, right now Amethyst i kinda broken for me untill the "create_send" issue is fixed, I tried to fix it myself but I dont have enough macro knowledge to do that
instantiating 'send(String, Hash(Symbol, String))'

in /home/unshadow/Desktop/git-projects/Amethyst/src/amethyst/support/sendable.cr:32: macro didn't expand to a valid program, it expanded to:

================================================================================
--------------------------------------------------------------------------------
  1.     case method
  2.       
  3.       
  4.     else
  5.       raise WrongInstanceMethod.new("Amethyst::Base::Controller+", "#{method}")
  6.     end
  7.   
--------------------------------------------------------------------------------
Syntax error in expanded macro: create_send:4: unexpected token: else (expecting when)

    else
    ^

================================================================================

    create_send
    ^~~~~~~~~~~