From a0fa50392c1f6b8d76d03ac905060bf0f9470418 Mon Sep 17 00:00:00 2001 From: greg Date: Fri, 16 Nov 2018 12:46:29 -0800 Subject: [PATCH] Fix compile error --- schala-lang/language/src/source_map.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schala-lang/language/src/source_map.rs b/schala-lang/language/src/source_map.rs index ed1de90..5785202 100644 --- a/schala-lang/language/src/source_map.rs +++ b/schala-lang/language/src/source_map.rs @@ -11,7 +11,8 @@ impl SourceMap { } pub fn get_source_data(&self) -> SourceData { - So + self.data.clone() + } } #[derive(Debug, Clone)]