mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
docs flow working with mocked markup to html
This commit is contained in:
parent
28cf11a1d9
commit
f63c276a5f
9 changed files with 178 additions and 135 deletions
|
@ -83,7 +83,7 @@ impl Scope {
|
|||
self.idents.len()
|
||||
}
|
||||
|
||||
pub fn lookup(&mut self, ident: &Ident, region: Region) -> Result<Symbol, RuntimeError> {
|
||||
pub fn lookup(&self, ident: &Ident, region: Region) -> Result<Symbol, RuntimeError> {
|
||||
match self.idents.get(ident) {
|
||||
Some((symbol, _)) => Ok(*symbol),
|
||||
None => Err(RuntimeError::LookupNotInScope(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue