Skip to content

Commit

Permalink
fix: fully qualify macros invoked within ght_macros.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jhellerstein committed Oct 22, 2024
1 parent cba81af commit 6ccf601
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lattices/src/ght_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ macro_rules! GhtType {
macro_rules! ColtType {
// Base case: single type to empty
($a:ty => ()) => {
var_type!($crate::GhtType!($a => (): VariadicColumnMultiset))
$crate::variadics::var_type!($crate::GhtType!($a => (): VariadicColumnMultiset))
};
// Base case: single type to single type
($a:ty => $c:ty) => {
Expand All @@ -86,7 +86,7 @@ macro_rules! ColtType {
};
// Base case: multiple types to empty
($a:ty, $( $b:ty ),* => ()) => {
var_type!($crate::GhtType!($a, $( $b ),* => (): VariadicColumnMultiset))
$crate::variadics::var_type!($crate::GhtType!($a, $( $b ),* => (): VariadicColumnMultiset))
};
// Base case: multiple types to single type
($a:ty, $( $b:ty ),* => $c:ty) => {
Expand Down

0 comments on commit 6ccf601

Please sign in to comment.