Opened 15 years ago

Closed 15 years ago

#230 closed バグ (fixed)

Unicodeコンパイル時、文字列リテラルの長さが正しく設定されていない。

Reported by: イグトランス (egtra) Owned by: イグトランス (egtra)
Priority: 最優先-blocker Milestone: AB5 CP6
Component: Compiler Version:
Keywords: Cc:

Description

次のプログラムをUnicodeでデバッグ実行すると、s = "あ"のときのm_Lengthが2になっているのがデバッガの変数表示で確認できます。マルチバイト文字列として文字列の長さを計算しているように思います。

Sub proc(s As String)
    OutputDebugStringW(StrPtr(s))
    Debug
End Sub
proc("A")
proc("あ")

Change History (2)

comment:1 by イグトランス (egtra), 15 years ago

Priority: 高-critical最優先-blocker
Status: newassigned

comment:2 by イグトランス (egtra), 15 years ago

Resolution: fixed
Status: assignedclosed

Coreのrev.762にて修正しました。

Note: See TracTickets for help on using tickets.