From a3bb3ee514b4419062870ad0da50145fffa62269 Mon Sep 17 00:00:00 2001 From: greg Date: Mon, 12 Aug 2019 14:13:20 -0700 Subject: [PATCH] Note a bug --- schala-lang/language/src/schala.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/schala-lang/language/src/schala.rs b/schala-lang/language/src/schala.rs index 0940401..d8a8478 100644 --- a/schala-lang/language/src/schala.rs +++ b/schala-lang/language/src/schala.rs @@ -263,6 +263,7 @@ impl ProgrammingLanguageInterface for Schala { let output = func(input, token.schala, debug_artifact.as_mut()); + //TODO I think this is not counting the time since the *previous* stage token.stage_durations.push((cur_stage_name.to_string(), token.sw.elapsed())); if let Some(artifact) = debug_artifact { for value in artifact.artifacts.into_iter() {