Skip to content

@recur not working since julia update (1.11.3) #732

@mousspi

Description

@mousspi

Hi ! Thanks in advance for helping.

Describe the bug
Since I updated Julia, my app is not launching due to @recur.

Error stacktrace
LoadError: UndefVarError: @recur not defined in Main.App
Suggestion: check for spelling errors or missing imports.

To reproduce
Using the example from Genie documentation (https://learn.genieframework.com/framework/stipple.jl/recipes/loop-component-generation):

module App
using GenieFramework
@genietools

@app begin
@out messages = ["msg1", "msg2", "msg3"]
end

function ui()
row([card(style="margin: 10px;", @recur("msg in messages"), [
p("{{msg}}")
]),])
end
@page("/", ui)
end

And launching with following command :

using GenieFramework; Genie.loadapp(); up();

When launching with latest julia version (1.11.3), error appears.
When launching with 1.10.8 version (using julia +1.10.8), it works.

Additional context
> juliaup status
1.10.8 1.10.8+0.x64.w64.mingw32
* release 1.11.3+0.x64.w64.mingw32

julia> versioninfo()
Julia Version 1.11.3
Commit d63adeda50 (2025-01-21 19:42 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 8 × Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)

pkg> st
Status "~.julia\environments\v1.11\Project.toml"
[336ed68f] CSV v0.10.15
[a80b9123] CommonMark v0.8.15
[a93c6f00] DataFrames v1.7.0
[1fa38f19] Format v1.3.7
[a59fdf5c] GenieFramework v3.0.1
[b6b21f68] Ipopt v1.7.1
[4076af6c] JuMP v1.23.6
[f0f68f2c] PlotlyJS v0.18.15
[ddb6d928] YAML v0.4.12


Please answer these optional questions to help us understand, prioritise, and assign the issue

1/ Are you using Genie at work or for hobby/personal projects?
Both. This bug is related to a project at work.

2/ Can you give us, in a few words, some details about the app you're building with Genie?
For prototypes manufacturing, analyzing data from measurements to optimize next program on a machine.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions