Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

[CommandCougar] Several warnings and errors #147

@spouliot

Description

@spouliot
Error (Bad): Function XamCougar.xam_proxy_FlagIndexable.get_flag has an unknown return type XamCougar.Option.Flag (NotImplementedException)
Error (Bad): Skipping C# wrapping protocol XamCougar.FlagIndexable, due to a previous error. (CompilerException)

and

Error (Bad): In XamCougar.Command..ctor, closure type XamCougar.CommandEvaluation throws -> () throws, which is not supported yet. (CompilerException)
Error (Bad): Skipping C# wrapping struct XamCougar.Command, due to a previous error. (CompilerException)

leads to generated code that cannot be compiled

csc -nostdlib -noconfig -r:/Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/mono/Xamarin.Mac//mscorlib.dll -r:/Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/mono/Xamarin.Mac//System.dll -r:"/Users/poupou/Dropbox (Personal)/Xamarin.Mac.dll" -unsafe -lib:/Users/poupou/Downloads/swift-o-matic/lib/SwiftInterop/ -r:SwiftRuntimeLibrary.Mac.dll -lib:. tsout/*.cs -t:library -out:XamCougar.dll
Microsoft (R) Visual C# Compiler version 2.6.0.62309 (d3f6b8e7)
Copyright (C) Microsoft Corporation. All rights reserved.

tsout/OptionEvaluationXamCougar.cs(13,51): error CS0246: The type or namespace name 'IFlagIndexable' could not be found (are you missing a using directive or an assembly reference?)
tsout/OptionEvaluationXamCougar.cs(14,9): error CS0246: The type or namespace name 'ICustomStringConvertible' could not be found (are you missing a using directive or an assembly reference?)
tsout/OptionEvaluationXamCougar.cs(11,37): error CS0246: The type or namespace name 'IFlagIndexable' could not be found (are you missing a using directive or an assembly reference?)
tsout/OptionXamCougar.cs(13,41): error CS0246: The type or namespace name 'IFlagIndexable' could not be found (are you missing a using directive or an assembly reference?)
tsout/OptionXamCougar.cs(13,57): error CS0246: The type or namespace name 'ICustomStringConvertible' could not be found (are you missing a using directive or an assembly reference?)
tsout/OptionXamCougar.cs(11,37): error CS0246: The type or namespace name 'IFlagIndexable' could not be found (are you missing a using directive or an assembly reference?)
tsout/CommandEvaluationXamCougar.cs(295,10): error CS0246: The type or namespace name 'Command' could not be found (are you missing a using directive or an assembly reference?)
tsout/CommandEvaluationXamCougar.cs(314,30): error CS0246: The type or namespace name 'Command' could not be found (are you missing a using directive or an assembly reference?)
tsout/CommandEvaluationXamCougar.cs(413,16): error CS0246: The type or namespace name 'Command' could not be found (are you missing a using directive or an assembly reference?)
tsout/CommandEvaluationXamCougar.cs(15,35): error CS0246: The type or namespace name 'Command' could not be found (are you missing a using directive or an assembly reference?)
make: *** [all] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions