Beakerboy / Beakerboy/VBA-SQL-Library

SQLSubselect — Property Get returns wrong variable

オープン
#65 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
VBA
スター
90
フォーク
18
PR マージ指標
30日以内にマージされた PR はありません

説明

SQLSubselect: SelectAs getter returns wrong variable
- Component: `src/ClassModules/SQLSubselect.cls` (around 0–39)

### Problem
- Getter returns an undefined identifier instead of the backing field.

### Snippet (actual)
```vb
Property Get SelectAs() As String
SelectAs = aAs
End Property
```

### Expected
```vb
Property Get SelectAs() As String
SelectAs = sAs
End Property
```

### Steps to Reproduce
1) Read `SelectAs` from an instance.

### Actual
- Returns empty/undefined; potential compile/runtime error.

### Proposed Fix
- Return `sAs`.

---

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

src/ClassModules/SQLSubselect.cls を開き、0–39 行付近にある SelectAs プロパティの getter を調べて、クラスが使用しているバッキングフィールドと比較します。インスタンスから SelectAs を読み取ったときに、空の結果やコンパイル時/実行時エラーが発生せず、保存されているエイリアス値が返されることを確認します。

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

評価

技術スタック
sql, visualbasic
領域
databases
issue の種類
バグ
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
55/100

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

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