Opened 18 years ago
Closed 18 years ago
#166 closed バグ(ケアレスミス) (fixed)
関数の引数で定義されたコレクションに対してForeachが使えない
| Reported by: | OverTaker | Owned by: | dai |
|---|---|---|---|
| Priority: | 中-major | Milestone: | ablib_α1 |
| Component: | Compiler | Version: | |
| Keywords: | Cc: |
Description
まったく関係のない行番号のところで、二つのエラーが発生する。
キャスト演算子がオーバーロードされていません。 System.ObjectからSystem.Stringに変換できません。
Imports System.Collections.Generic #console Dim strings As List<String> Show(strings) Sub Show(strings As List<String>) Dim s As String Foreach s In strings Print s Next End Sub
Change History (2)
comment:1 by , 18 years ago
| Status: | new → assigned |
|---|
comment:2 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

[481]にて修正。