You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ object !
defined object !
@ // Here I would write just !, but Ammonite doesn't actually allow entering that
@ !.toString
SyntaxError: found "!.toString", expected Import | Prelude ~ BlockDef | Expr | "{" | End at index 0
!.toString
^
@ {{ !.toString }}
SyntaxError: found "!.toString }}", expected ";" | Newline.rep(1) | "}" at index 3
{{ !.toString }}
^
@ val a = !.toString
SyntaxError: found "!.toString", expected If | While | Try | DoWhile | For | Throw | Return | ImplicitLambda | SmallerExprOrLambda at index 8
val a = !.toString
^
@ `!`
res1: !.type = ammonite.$sess.cmd0$$bang$@39ae6408
Examples from Ammonite:
Same goes for
~
.For comparison,
scala
behaviour:The text was updated successfully, but these errors were encountered: