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

Fix bug in at-derived macro parsing methods w/ unnamed arguments. #10

Merged
2 commits merged into from
Apr 20, 2020

Conversation

NHDaly
Copy link
Collaborator

@NHDaly NHDaly commented Apr 19, 2020

For example, this fixes method definitions like this:

Salsa.@derived f(db::AbstractComponent, ::String) = "!"

Fixes #9

For example, this fixes method definitions like this:
```julia
Salsa.@derived f(db::AbstractComponent, ::String) = "!"
```
@ghost
Copy link

ghost commented Apr 19, 2020

@comnik i'm not sure why, but Github won't let me assign this review to you. Would you please take a look anyway? :)

It was a simple change, just fixed a typo. Also, this should get simpler with the new API (what we're currently calling "minisalsa").

Copy link
Contributor

@comnik comnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for looking into this so quickly :)

Before the previous commit, we were accidentally using `args` when we meant to be using `fullargs`. This commit just removes the `args` binding altogether so we don't make that mistake again. :)
@ghost ghost merged commit cd13ba2 into master Apr 20, 2020
@ghost ghost deleted the nhd-unnamed-args branch April 20, 2020 15:25
NHDaly added a commit that referenced this pull request May 4, 2020
- Merge pull request #1449 from RelationalAI/nhd-Salsa-downstream
  Downstream from https://github.com/RelationalAI-oss/Salsa.jl
- Merge pull request #1485 from RelationalAI/compathelper/new_version/2…
  …020-03-28-00-14-03-879-1646924221
  CompatHelper: bump compat for "PProf" to "1.0"
- Merge pull request #1523 from RelationalAI/nhd-Salsa-display-dependen…
  …cy-graph
  Add Salsa inspect.jl to dump a dot graph / SVG from deps
- Merge pull request #1568 from RelationalAI/nhd-Salsa-Workspace-perf
  Make Workspace prev_schema_page_id and schema_version not Salsa-tracked inputs
- Merge pull request #1573 from RelationalAI/nhd-Salsa-Workspace-perf
  Add "SALSA_TRACE" logging for `get!()`; use `check_ENV` in Salsa.
- Merge pull request #1590 from RelationalAI/nhd-Salsa-downstream
  Downstream #10
- Merge pull request #1628 from RelationalAI/nhd-salsa-tracing-fix
  Fix up Salsa trace to not dump the whole Input map in log.
NHDaly added a commit that referenced this pull request May 4, 2020
- Merge pull request #1449 from RelationalAI/nhd-Salsa-downstream
  Downstream from https://github.com/RelationalAI-oss/Salsa.jl
- Merge pull request #1485 from RelationalAI/compathelper/new_version/2…
  …020-03-28-00-14-03-879-1646924221
  CompatHelper: bump compat for "PProf" to "1.0"
- Merge pull request #1523 from RelationalAI/nhd-Salsa-display-dependen…
  …cy-graph
  Add Salsa inspect.jl to dump a dot graph / SVG from deps
  Add "SALSA_TRACE" logging for `get!()`; use `check_ENV` in Salsa.
- Merge pull request #1590 from RelationalAI/nhd-Salsa-downstream
  Downstream #10
- Merge pull request #1628 from RelationalAI/nhd-salsa-tracing-fix
  Fix up Salsa trace to not dump the whole Input map in log.
@ghost ghost mentioned this pull request May 4, 2020
NHDaly added a commit that referenced this pull request May 4, 2020
- Merge pull request #1449 from RelationalAI/nhd-Salsa-downstream
  Downstream from https://github.com/RelationalAI-oss/Salsa.jl
- Merge pull request #1485 from RelationalAI/compathelper/new_version/2…
  …020-03-28-00-14-03-879-1646924221
  CompatHelper: bump compat for "PProf" to "1.0"
- Merge pull request #1523 from RelationalAI/nhd-Salsa-display-dependen…
  …cy-graph
  Add Salsa inspect.jl to dump a dot graph / SVG from deps
  Add "SALSA_TRACE" logging for `get!()`; use `check_ENV` in Salsa.
- Merge pull request #1590 from RelationalAI/nhd-Salsa-downstream
  Downstream #10
- Merge pull request #1628 from RelationalAI/nhd-salsa-tracing-fix
  Fix up Salsa trace to not dump the whole Input map in log.
@ghost ghost assigned NHDaly and unassigned NHDaly Dec 20, 2021
@NHDaly NHDaly assigned NHDaly and unassigned NHDaly Dec 20, 2021
This pull request was closed.
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.

Type-only parameters break in derived functions
2 participants