Push checkmate through load

This commit is contained in:
Ayaz Hafiz 2023-07-16 14:47:05 -05:00
parent 27dd9d03aa
commit 1282110ef5
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
14 changed files with 167 additions and 45 deletions

View file

@ -3,6 +3,7 @@ use roc_types::subs as s;
use crate::convert::AsSchema;
#[derive(Debug)]
pub struct Collector {
events: AllEvents,
current_event_path: Vec<usize>,

View file

@ -29,7 +29,7 @@ macro_rules! debug_checkmate {
#[macro_export]
macro_rules! with_checkmate {
($opt_collector:expr, { on => $on:expr, off => $off:expr, }) => {{
({ on => $on:expr, off => $off:expr, }) => {{
#[cfg(debug_assertions)]
{
$on