mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Do not print the internal struct name in LSP tooltip or error message
just strip the `slint::` or `slint::private_api::` This is not a 100% match to the slint name (eg, LogicalPosition) but it is better anyway
This commit is contained in:
parent
b44172be4f
commit
51e4d4562a
2 changed files with 7 additions and 2 deletions
|
@ -5,7 +5,7 @@ export component Foo inherits Rectangle {
|
|||
Text {
|
||||
font-metrics: 42;
|
||||
// ^error{Cannot assign to output property 'font-metrics'}
|
||||
// ^^error{Cannot convert float to slint::private_api::FontMetrics}
|
||||
// ^^error{Cannot convert float to FontMetrics}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue