Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`continue -- comment` rejected with `runtime.nonstandardSymbol=["continue"]`

オープン
#3,474 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

@ybai08 がすでに取り組んでいます。

2026年10月18日 から。

  • #3475 @ybai08 による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
lua

調査の方向性

Start with the Lua syntax checking and diagnostics paths for parsing continue with a trailing comment; compare them with the reproduction where continue has no comment. Confirm both reported errors are fixed for the commented case while the uncommented case still parses correctly.

索引モデルが issue の本文から書いたものです。

説明

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Linux

What is the issue affecting?

Diagnostics/Syntax Checking

Expected Behaviour

The continue should not be underlined in red or error.

   for i = 1, 2 do
       continue -- trailing comment
   end
Actual Behaviour

Two errors:

  • Unexpected < exp > . Lua Syntax Check.(exp-in-action)
  • Undefined global continue. Lua Diagnostics.(undefined-global)
Reproduction steps

This parses correctly:

  for i = 1, 2 do
      continue
  end

This does not:

  for i = 1, 2 do
      continue -- trailing comment
  end
Additional Notes

No response

Log File

No response

主要言語
Lua
スター
4.4k
フォーク
449
平均マージ
15日 6時間
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

LuaLS/lua-language-server のほかの issue

LuaLS/lua-language-server の issue をすべて見る

似ている issue

Lua の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。