mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
ugly hack to make the docs build
This commit is contained in:
parent
632f153b3e
commit
b6224a3806
2 changed files with 10 additions and 1 deletions
|
@ -56,6 +56,13 @@ impl Scope {
|
|||
self.lookup_str(ident.as_str(), region)
|
||||
}
|
||||
|
||||
pub fn add_docs_imports(&mut self) {
|
||||
self.imports
|
||||
.push(("Dict".into(), Symbol::DICT_DICT, Region::zero()));
|
||||
self.imports
|
||||
.push(("Set".into(), Symbol::SET_SET, Region::zero()));
|
||||
}
|
||||
|
||||
pub fn lookup_str(&self, ident: &str, region: Region) -> Result<Symbol, RuntimeError> {
|
||||
use ContainsIdent::*;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue