We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
prefix_expr
@prefix
Sybmol
1 parent 8cb0796 commit 2d887c9Copy full SHA for 2d887c9
src/contexts.jl
@@ -319,7 +319,7 @@ The result of `prefix_expr` must will be converted to a `Symbol` and used as the
319
for static prefixes. For more control over the prefixing, use the method directly.
320
"""
321
macro prefix(model, prefix_expr)
322
- return :($prefix($(esc(model)), $Val{$(esc(prefix_expr))}()))
+ return :($prefix($(esc(model)), $Val{$Symbol($(esc(prefix_expr)))}()))
323
end
324
325
struct ConditionContext{Values,Ctx<:AbstractContext} <: AbstractContext
0 commit comments