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

Define @qq #200

Merged
merged 4 commits into from
Jan 15, 2024
Merged

Define @qq #200

merged 4 commits into from
Jan 15, 2024

Conversation

cstjean
Copy link
Collaborator

@cstjean cstjean commented Dec 24, 2023

I found it pretty hard to write the docstring, improvements are welcome.

julia> macro my_fff_def(a)
           @qq function fff() $a end
       end
@my_fff_def (macro with 1 method)

julia> @macroexpand @my_fff_def begin   # line where fff() is defined
           function g()    # line where fff()() is defined
               22
           end
       end
:(function Main.fff()
      #= REPL[46]:1 =#          # with normal quotation, this line is from the macro construction site
      #= REPL[46]:1 =#
      begin
          #= REPL[46]:2 =#
          function var"#82#g"()
              #= REPL[46]:2 =#
              #= REPL[46]:3 =#
              22
          end
      end
  end)

@codecov-commenter
Copy link

codecov-commenter commented Dec 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6b3034a) 79.66% compared to head (9db5a11) 79.20%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #200      +/-   ##
==========================================
- Coverage   79.66%   79.20%   -0.47%     
==========================================
  Files          10       10              
  Lines         423      428       +5     
==========================================
+ Hits          337      339       +2     
- Misses         86       89       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cstjean cstjean merged commit 2b843b2 into master Jan 15, 2024
12 checks passed
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.

2 participants