Ticket #194 (closed defect: fixed)
Cobra compiler no longer compiles csharp only source.
Reported by: | hopscc | Owned by: | Chuck |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
I just noticed that cobra no longer will compile a commandline composed only of sharp source files - it used to.
e.g. something like
cobra hello.cs cobra app.cs support.cs class.cs
I find this convenient for testing csharp code or compiling tweaked cobra translations when I cant remember where the various frameworks squirrel the csharp compiler or what the compiler incantation is supposed to be.
It now fails compilation with
"error: Cannot find a "main" method."
Some investigation indicates that its failing the IdentifyMainPhase (reasonably enough) so I'd imagine its been a regression since that code was added.
I have a working fix, patch forthcoming.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.