Forums

Search found 35 matches: mixin

Return to advanced search

Re: Cobra internal error with mixin

Thanks for the feedback.
by thriwkin
Tue Apr 28, 2015 6:54 am
 
Forum: Discussion
Topic: Cobra internal error with mixin
Replies: 3
Views: 35961

Re: Cobra internal error with mixin

The Cobra program is correct, but the cobra.exe (of Cobra svn:3116) cannot compile a try-catch statement in a method or property of a mixin . This little program contains the 3 possible forms of a try-catch statement. It reproduces the failure: mixin Mixin1 def m1 try pass catch pass def ...
by thriwkin
Thu Apr 23, 2015 8:39 pm
 
Forum: Discussion
Topic: Cobra internal error with mixin
Replies: 3
Views: 35961

Cobra internal error with mixin

... #1 SMP PREEMPT Thu Mar 26 17:34:34 UTC 2015 (f10e7fc) x86_64 x86_64 x86_64 GNU/Linux I have the following code: use System.Diagnostics mixin CommandLineTool """ To access tools via command invocation. """ var _commandEnvironmentVariables = Dictionary<of ...
by fraya
Fri Apr 17, 2015 4:54 pm
 
Forum: Discussion
Topic: Cobra internal error with mixin
Replies: 3
Views: 35961

Re: MonoDevelop addin: Plumbing and autocompletion

-- I didn't have any "yuck" reaction to checking the start of a line for the declaring keyword (namespace, class, interface, struct, mixin, var, etc.). ... Anytime I start writing 'if' ... 'else if'...'else if'...'else if'... I have to reevaluate the life decisions that led me to that ...
by nerdzero
Mon Nov 19, 2012 4:53 pm
 
Forum: Discussion
Topic: MonoDevelop addin: Plumbing and autocompletion
Replies: 13
Views: 73364

Re: MonoDevelop addin: Plumbing and autocompletion

... II, -- I didn't have any "yuck" reaction to checking the start of a line for the declaring keyword (namespace, class, interface, struct, mixin, var, etc.). It's a key characteristic of Cobra that such declarations always start with a keyword that tells you what kind of thing is being ...
by Charles
Mon Nov 19, 2012 2:54 pm
 
Forum: Discussion
Topic: MonoDevelop addin: Plumbing and autocompletion
Replies: 13
Views: 73364

Re: some more mixin fun

I was working on ticket:308 when I realized there was another problem that needed fixing, which is what changeset:2848 is all about. I'm aware that 308 is still open and needs help. Also, in the future, if the code you include with the ticket can be self-contained with no external references to othe...
by Charles
Sun Nov 18, 2012 12:34 pm
 
Forum: Discussion
Topic: some more mixin fun
Replies: 1
Views: 8663

some more mixin fun

with regard to defect #308 after rev. 2848 this code is almost fixed. I only get something weird with regard to an event inside a mixin. Error: "GenericProject.Controller" does not implement interface member "GenericProject.ManageProfiling.ReachedLimit" (generic_project) ...
by kobi7
Sun Nov 18, 2012 11:55 am
 
Forum: Discussion
Topic: some more mixin fun
Replies: 1
Views: 8663

Re: properties in mixins

Properties are definitely allowed. This is a code gen bug. Until it's fixed, the workaround is to write the code for the property like so:
mixin ManageAttitude

var _attitude as decimal
get attitude as decimal
return _attitude
by Charles
Sun Nov 11, 2012 1:28 pm
 
Forum: Discussion
Topic: properties in mixins
Replies: 4
Views: 11628

Re: RFC for suggestion: setting access rights to added mixin

cool thanks!
I'll open another thread if I find more.
by kobi7
Sun Nov 11, 2012 4:21 am
 
Forum: Discussion
Topic: RFC for suggestion: setting access rights to added mixins
Replies: 3
Views: 13247
Next

Return to advanced search

cron