Hirohito Higashi
06a2c7105c
patch 9.2.0507: Vim9 class: public/protected member name clash uses same error
...
Problem: When a public member and a protected member in a Vim9
class have the same name (differing only in the leading '_'),
Vim reports E1369 "Duplicate variable", which is also used for
plain duplicate definitions. Users cannot tell from the
message whether the conflict is the public/protected naming
rule or a real duplicate.
Solution: Add a dedicated error E1406 "Public and protected member
have the same name" and emit it only when the name clash is
between a public and a protected member. Keep E1369 for
genuine duplicate variable definitions (Hirohito Higashi).
fixes: #20240
closes : #20277
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2026-05-21 19:45:59 +00:00
..
2026-02-14 15:19:10 +00:00
2026-05-10 19:17:19 +00:00
2026-05-21 19:08:10 +00:00
2026-03-31 15:20:08 +00:00
2026-04-29 19:49:45 +00:00
2026-05-20 09:13:52 +02:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-18 22:19:06 +00:00
2026-02-14 15:19:10 +00:00
2026-05-21 19:08:10 +00:00
2026-01-19 18:07:28 +00:00
2026-01-26 19:40:37 +00:00
2026-02-09 18:35:43 +00:00
2026-02-14 15:19:10 +00:00
2026-05-16 07:46:25 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-06 09:44:56 +00:00
2026-05-04 19:10:37 +00:00
2026-04-03 08:29:09 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-04-07 21:07:46 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-18 21:22:46 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-03-08 21:03:12 +00:00
2026-02-09 18:35:43 +00:00
2026-01-26 19:40:37 +00:00
2026-03-19 21:29:51 +00:00
2026-05-17 17:58:15 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-04-09 18:49:43 +00:00
2026-05-18 18:59:03 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-05-19 18:51:14 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-04-16 14:42:47 +02:00
2026-02-14 15:19:10 +00:00
2026-04-16 20:03:39 +00:00
2026-05-16 08:02:13 +00:00
2026-05-17 17:49:42 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-05-17 20:11:52 +00:00
2026-02-14 15:19:10 +00:00
2026-05-15 16:34:53 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-04-29 21:17:11 +00:00
2026-05-17 17:49:42 +00:00
2026-05-04 19:17:52 +00:00
2026-05-21 19:45:59 +00:00
2026-05-17 20:11:52 +00:00
2026-03-04 21:09:25 +00:00
2026-04-28 21:06:45 +00:00
2026-04-05 16:53:52 +00:00
2026-04-07 20:46:10 +00:00
2026-02-14 15:19:10 +00:00
2026-04-29 19:10:43 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-05-11 17:23:01 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-05-15 15:37:31 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-04-28 20:31:34 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-04-27 17:06:47 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-02-14 15:19:10 +00:00
2026-05-19 18:46:59 +00:00
2026-03-08 19:48:32 +00:00
2026-02-14 15:19:10 +00:00
2026-05-21 19:08:10 +00:00
2026-05-21 19:45:59 +00:00
2026-05-14 08:39:03 +00:00
2026-05-14 08:39:03 +00:00
2026-01-19 18:07:28 +00:00
2025-10-07 19:19:43 +00:00
2025-10-07 19:19:43 +00:00
2026-01-26 19:40:37 +00:00
2026-02-09 18:35:43 +00:00
2026-05-11 16:19:16 +00:00
2026-05-11 16:19:16 +00:00
2026-01-19 18:07:28 +00:00
2026-01-26 19:40:37 +00:00
2026-01-26 19:40:37 +00:00
2026-01-19 18:07:28 +00:00
2026-01-26 19:40:37 +00:00
2026-02-09 18:35:43 +00:00
2026-02-14 15:19:10 +00:00
2026-04-20 18:24:17 +00:00
2026-05-01 16:32:44 +00:00
2026-02-14 15:19:10 +00:00
2026-03-25 22:11:55 +00:00
2026-03-25 22:11:55 +00:00
2026-01-19 18:07:28 +00:00
2026-03-31 15:49:44 +00:00
2026-03-31 15:49:44 +00:00
2026-01-26 19:40:37 +00:00
2026-01-26 19:40:37 +00:00
2026-03-25 22:10:09 +00:00
2026-03-25 22:10:09 +00:00