Fix warning message for a property that name is used for function

This commit is contained in:
Tasuku Suzuki 2024-12-24 19:36:32 +09:00 committed by Olivier Goffart
parent 31c5d9407f
commit bc89c634b3
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ export Xxx := Rectangle {
Abc {
property <int> par;
// ^error{Cannot declare property 'par' when a callback with the same name exists}
// ^error{Cannot declare property 'par' when a function with the same name exists}
callback par();
// ^error{Cannot declare callback 'par' when a function with the same name exists}
}