Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ложное срабатывание проверки типа #1048 #1416

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iArtemv
Copy link
Collaborator

@iArtemv iArtemv commented Feb 21, 2024

Что сделано

  • Исправление ошибки

Чек-лист

Общее:

  • ветка PR обновлена из master и нет конфликтов
  • Тесты-кейсы, JUnit тесты правильного и неправильного состояния
  • Измененные Вами исходники отформатированы в соответствии с конвенцией
  • Авто-аудит (SonarQube и CheckStyle) пройден, покрытие кода хорошее, ошибок нет, плохой код устранен
  • Добавлена запись в ИСТОРИЮ ИЗМЕНЕНИЯ, включаемая в пользовательскую документацию плагина

Если применимо:

  • Пользовательская документация на доп.инструменты написана (на русском)
  • Описание проверок - на двух языках

Закрываемые задачи

Closes 1C-Company/1c-edt-issues#1048

Copy link
Collaborator

@marmyshev marmyshev left a comment

Choose a reason for hiding this comment

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

На сколько я помню, это не поддерживается в ЕДТ.

Comment on lines +107 to +108
|| IBslCommentToken.TYPE_SECTION_DASH.equals(text.trim()) && lastLine != part.getLineNumber())
|| text != null && text.startsWith("@skip-check")) //$NON-NLS-1$
Copy link
Collaborator

Choose a reason for hiding this comment

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

Здесь проблеме не в проверке а в том, поддерживает ли модель данных док.коммента и расчет типов ЕДТ по модели поддерживает такую ситуацию? тип по ссылке считается корректно, если есть TextPart после ссылки?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Модель не поддерживает расчет типа по ссылке, так что видимо не ложное срабатывание

@marmyshev marmyshev marked this pull request as draft March 4, 2024 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants