Skip to content

Commit

Permalink
Add dynamic/0 to the list of auto-imported erlang types
Browse files Browse the repository at this point in the history
Summary: As title

Reviewed By: michalmuskala

Differential Revision: D52037862

fbshipit-source-id: 4111b0e381cc12ae0ad782f09011be373d3b80e8
  • Loading branch information
alanz authored and facebook-github-bot committed Dec 12, 2023
1 parent a4d67aa commit 94267e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/syntax/src/ast/erlang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ pub fn is_erlang_type(f: &str, a: usize) -> bool {
("node", 0) => true,
("timeout", 0) => true,
("no_return", 0) => true,

("dynamic", 0) => true,
_ => false,
}
}

0 comments on commit 94267e1

Please sign in to comment.