-
-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix recent regression with import hooks in blocks (#1369)
This fixes a regression introduced in #1361. This makes the following work again as expected: ```scala @ { import $ivy.`org.typelevel::cats-kernel:2.6.1` } ``` Before the changes here, in Scala 2.x, one gets an error like ```text cmd0.sc:2: object org.typelevel::cats-kernel:2.6.1 is not a member of package ammonite.$ivy import $ivy.`org.typelevel::cats-kernel:2.6.1` ^ Compilation Failed ```
- Loading branch information
1 parent
8b1a558
commit 151446c
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
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
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