Mercurial > vim
comparison src/vim9class.c @ 33385:b5ad84fdc702 v9.0.1951
patch 9.0.1951: Vim9: hard to debug vim9_class errors from CI
Commit: https://github.com/vim/vim/commit/b90e3bc491c02bd6e4db1a1c1849ce3d21811c43
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Thu Sep 28 23:06:48 2023 +0200
patch 9.0.1951: Vim9: hard to debug vim9_class errors from CI
Problem: Vim9: hard to debug vim9_class errors from CI
Solution: Include the line number in assert_xxx() calls. Include the
entire error message in the tests. Fix the indentation in the
test file. Add tags for new error codes.
closes: #13206
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 28 Sep 2023 23:30:03 +0200 |
parents | 17301c641749 |
children | 577ef266309d |
comparison
equal
deleted
inserted
replaced
33384:245624dcfea2 | 33385:b5ad84fdc702 |
---|---|
1575 semsg(_(e_command_cannot_be_shortened_str), line); | 1575 semsg(_(e_command_cannot_be_shortened_str), line); |
1576 break; | 1576 break; |
1577 } | 1577 } |
1578 if (!is_class) | 1578 if (!is_class) |
1579 { | 1579 { |
1580 emsg(_(e_public_member_not_supported_in_interface)); | 1580 emsg(_(e_public_variable_not_supported_in_interface)); |
1581 break; | 1581 break; |
1582 } | 1582 } |
1583 has_public = TRUE; | 1583 has_public = TRUE; |
1584 p = skipwhite(line + 6); | 1584 p = skipwhite(line + 6); |
1585 | 1585 |