Skip to content

Outdated warning about macro used immediately before being undefined #423

@volas

Description

@volas

fn check_danger_ident(&mut self, name: &str, kind: &str) {
if let Some(loc) = self.danger_idents.get(name) {
self.context.register_error(DMError::new(*loc, format!(
"macro {:?} used immediately before being {}:\n\
https://www.byond.com/forum/?post=2072419", name, kind
)).set_severity(Severity::Warning));
}
}

Lummox marked this as fixed in 515.1607 https://www.byond.com/forum/post/2072419, and my code compiles without problems.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions