mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Switch fx mode based on platform main too
This commit is contained in:
parent
2c8571537e
commit
b80f44738f
4 changed files with 19 additions and 15 deletions
|
@ -386,7 +386,14 @@ impl IdentSuffix {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn is_suffixed(&self) -> bool {
|
||||
pub fn is_none(&self) -> bool {
|
||||
match self {
|
||||
IdentSuffix::None => true,
|
||||
IdentSuffix::Bang => false,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn is_bang(&self) -> bool {
|
||||
match self {
|
||||
IdentSuffix::None => false,
|
||||
IdentSuffix::Bang => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue