mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Report unsuffixed record literal field with effectful function
This commit is contained in:
parent
ea35094b28
commit
215de707fa
7 changed files with 121 additions and 21 deletions
|
@ -236,6 +236,10 @@ impl Lowercase {
|
|||
pub fn as_str(&self) -> &str {
|
||||
self.0.as_str()
|
||||
}
|
||||
|
||||
pub fn suffix(&self) -> IdentSuffix {
|
||||
IdentSuffix::from_name(self.0.as_str())
|
||||
}
|
||||
}
|
||||
|
||||
impl From<Lowercase> for String {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue