From 5dcfce46cce4f08735407a4274575ee395dc3137 Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Thu, 14 Oct 2021 01:34:38 -0700 Subject: [PATCH] Add Options associated type --- schala-lang/language/src/schala.rs | 1 + schala-repl/src/language.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/schala-lang/language/src/schala.rs b/schala-lang/language/src/schala.rs index 0f94e3a..fc48dca 100644 --- a/schala-lang/language/src/schala.rs +++ b/schala-lang/language/src/schala.rs @@ -174,6 +174,7 @@ fn stage_names() -> Vec<&'static str> { impl ProgrammingLanguageInterface for Schala { + type Options = (); fn language_name() -> String { "Schala".to_owned() } diff --git a/schala-repl/src/language.rs b/schala-repl/src/language.rs index 6cc4840..993f120 100644 --- a/schala-repl/src/language.rs +++ b/schala-repl/src/language.rs @@ -2,6 +2,7 @@ use std::collections::HashSet; use std::time; pub trait ProgrammingLanguageInterface { + type Options; fn language_name() -> String; fn source_file_suffix() -> String;