Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work toward merging clock processing with the common interface #1949

Merged
merged 11 commits into from
Nov 21, 2022

Conversation

YingboMa
Copy link
Member

No description provided.

YingboMa and others added 4 commits November 16, 2022 10:50
@YingboMa YingboMa marked this pull request as ready for review November 17, 2022 17:09
```julia
using RuntimeGeneratedFunctions
RuntimeGeneratedFunctions.init(@__MODULE__)
ex = :(function foo(a, b)
    goo = function (c, d)
    end
end)
fun = @RuntimeGeneratedFunction(ex)
fun(1, 2)
```
gives
```julia
julia> fun(1, 2)
ERROR: The function body AST defined by this @generated function is not pure. This likely means it contains a closure or comprehension.
Stacktrace:
 [1] (::RuntimeGeneratedFunction{(:a, :b), var"#_RGF_ModTag", var"#_RGF_ModTag", (0x1c41534f, 0x444455e2, 0x6114b514, 0xa7b18630, 0x10e959a2)})(::Int64, ::Int64)
   @ RuntimeGeneratedFunctions ~/.julia/packages/RuntimeGeneratedFunctions/6v5Gn/src/RuntimeGeneratedFunctions.jl:124
 [2] top-level scope
   @ REPL[47]:1
```
@YingboMa YingboMa changed the title WIP: work toward merging clock processing with the common interface Work toward merging clock processing with the common interface Nov 21, 2022
@YingboMa YingboMa merged commit 6e49923 into master Nov 21, 2022
@YingboMa YingboMa deleted the myb_fb/clocks branch November 21, 2022 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant