Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libsolidity/analysis/DocStringTagParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ bool DocStringTagParser::visit(InlineAssembly const& _assembly)
m_errorReporter.warning(
2424_error,
_assembly.location(),
"Natspec memory safe annotation for inline assembly is deprecated and scheduled for removal in the next breaking version (0.9)."
"Natspec 'memory-safe-assembly' special comment for inline assembly is deprecated and scheduled for removal in the next breaking version (0.9)."
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@clonker I've reworded the warning message here to be more in line with the suggestion you made for the changelog entry....what do you think?

Copy link
Member

@clonker clonker Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thinking about it again, it would be even better to mention that the assembly block annotation should be used instead. Like "Use the 'memory-safe' assembly block annotation instead". Or go with the whole sentence as in the docs.

);
}
else
Expand Down