File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
modules/build/src/main/scala/scala/build/preprocessing Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
package scala .build .preprocessing
2
2
3
3
import com .virtuslab .using_directives .config .Settings
4
- import com .virtuslab .using_directives .custom .model .{UsingDirectiveKind , UsingDirectiveSyntax , UsingDirectives }
4
+ import com .virtuslab .using_directives .custom .model .{
5
+ UsingDirectiveKind ,
6
+ UsingDirectiveSyntax ,
7
+ UsingDirectives
8
+ }
5
9
import com .virtuslab .using_directives .custom .utils .ast .{UsingDef , UsingDefs }
6
10
import com .virtuslab .using_directives .{Context , UsingDirectivesProcessor }
7
11
@@ -109,7 +113,7 @@ object ExtractedDirectives {
109
113
if (supportedDirectives.contains(usedDirectives.getKind()))
110
114
Right (ExtractedDirectives (offset, strictDirectives))
111
115
else
112
- Left (new DirectiveErrors (:: (" Unsupported directive" , Nil )))
116
+ Left (new DirectiveErrors (:: (s " Unsupported using directive kind ${usedDirectives.getKind} " , Nil )))
113
117
}
114
118
else {
115
119
val errors0 = errors.map(diag => new MalformedDirectiveError (diag.message, diag.positions))
You can’t perform that action at this time.
0 commit comments