power-mac-g4:~/Programming/cobra/helloworld gtoast$ cobra -v hello.cobra
Cobra Command Line 0.8.0
Copyright (C) 2003-2008 by Cobra Language LLC.
OS Version: Unix 8.11.0.0
CLR Platform: Mono
CLR Version: 2.0.50727.1433
Current Directory: /Users/damany/Programming/cobra/helloworld
Current Exe: /usr/local/cobra/cobra-0.8.0/bin/cobra.exe
Option Dictionary:
verbosity: 1
contracts: 'inline'
debugging-tips: true
embed-run-time: true
include-asserts: true
include-tests: true
number: 'decimal'
Paths:
hello.cobra
Reading assembly: mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 at /Library/Frameworks/Mono.framework/Versions/2.2/lib/mono/2.0/mscorlib.dll
Reading assembly: System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 at /Library/Frameworks/Mono.framework/Versions/2.2/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll
Noting /usr/local/cobra/cobra-0.8.0/bin/CobraInfo.cs
Parsing /usr/local/cobra/cobra-0.8.0/bin/SystemInterfaces.cobra
Parsing /usr/local/cobra/cobra-0.8.0/bin/CobraLang.cobra
Noting /usr/local/cobra/cobra-0.8.0/bin/CobraLang.cs
Parsing hello.cobra
/usr/local/cobra/cobra-0.8.0/bin/CobraLang.cobra(1416): error: Cannot redeclare "item" as "Object?" because it was declared as "T" earlier.
/usr/local/cobra/cobra-0.8.0/bin/CobraLang.cobra(1427): error: Argument 1 of method "add" expects a non-nilable type (T), but the call is supplying a nilable type (Object?).
Compilation failed - 2 errors, 0 warnings
Not running due to errors above.
Anyone have any insight?
Thanks.