質問編集履歴

1

実行環境とエラーメッセージについて追記

2018/03/24 15:56

投稿

yuyabu
yuyabu

スコア63

test CHANGED
File without changes
test CHANGED
@@ -52,11 +52,59 @@
52
52
 
53
53
 
54
54
 
55
- なりせんでした
55
+ 実行はpaisa.ioのvbを使いました
56
+
57
+
58
+
59
+ https://paiza.io/ja
60
+
61
+
62
+
63
+
56
64
 
57
65
  ただし上記プログラムは5行目'test(1)
58
66
 
59
67
  のコメントアウトを外すとエラーになります。
68
+
69
+
70
+
71
+ ```
72
+
73
+ Visual Basic.Net Compiler version 0.0.0.5943 (Mono 4.0.1 - tarball)
74
+
75
+ Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved.
76
+
77
+
78
+
79
+ /workspace/Main.vb (4,13) : warning VBNC42020: Variable declaration without an 'As' clause; type of Object assumed.
80
+
81
+ /workspace/Main.vb (10,18) : warning VBNC42021: Function without an 'As' clause; return type of Object assumed.
82
+
83
+ /workspace/Main.vb (6,11) : error VBNC99999: Internal compiler error close to this location
84
+
85
+ vbnc : Command line : error VBNC99999: Unexpected error: Value cannot be null.
86
+
87
+ Parameter name: value
88
+
89
+ at Mono.Cecil.Cil.Instruction.Create (OpCode opcode, System.String value) <0x40266630 + 0x0013d> in <filename unknown>:0
90
+
91
+ at Mono.Cecil.Cil.ILProcessor.Create (OpCode opcode, System.String value) <0x402665f0 + 0x00022> in <filename unknown>:0
92
+
93
+ at Mono.Cecil.Cil.ILProcessor.Emit (OpCode opcode, System.String value) <0x402665a0 + 0x00026> in <filename unknown>:0
94
+
95
+ at vbnc.EmitLog.Emit (OpCode opcode, System.String str) <0x40266540 + 0x00042> in <filename unknown>:0
96
+
97
+ at vbnc.Emitter.EmitLoadValue (vbnc.EmitInfo Info, System.String Value) <0x402664a0 + 0x00091> in <filename unknown>:0
98
+
99
+ at vbnc.LateBoundAccessToExpression.EmitLateCall (vbnc.EmitInfo Info, vbnc.LateBoundAccessClassification LateBoundAccess) <0x40266030 + 0x0024d> in <filename unknown>:0
100
+
101
+ at vbnc.InvocationOrIndexExpression.GenerateCodeInternal (vbnc.EmitInfo Info) <0x4025fcb0 + 0x00236> in <filename unknown>:0
102
+
103
+ at vbnc.Expression.GenerateCode (vbnc.EmitInfo Info) <0x40249080 + 0x00297> in <filename unknown>:0
104
+
105
+ Compilation took 00:00:00.6206770
106
+
107
+ ```
60
108
 
61
109
 
62
110