Forums
Search found 35 matches: mixin
Re: Cobra internal error with mixin
Thanks for the feedback.
- Tue Apr 28, 2015 6:54 am
- Forum: Discussion
- Topic: Cobra internal error with mixin
- Replies: 3
- Views: 36528
Re: Cobra internal error with mixin
Applied. Thanks.
http://cobra-language.com/trac/cobra/changeset/3117
http://cobra-language.com/trac/cobra/changeset/3117
- Mon Apr 27, 2015 8:07 pm
- Forum: Discussion
- Topic: Cobra internal error with mixin
- Replies: 3
- Views: 36528
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 ...
- Thu Apr 23, 2015 8:39 pm
- Forum: Discussion
- Topic: Cobra internal error with mixin
- Replies: 3
- Views: 36528
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 ...
- Fri Apr 17, 2015 4:54 pm
- Forum: Discussion
- Topic: Cobra internal error with mixin
- Replies: 3
- Views: 36528
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 ...
- Mon Nov 19, 2012 4:53 pm
- Forum: Discussion
- Topic: MonoDevelop addin: Plumbing and autocompletion
- Replies: 13
- Views: 75057
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 ...
- Mon Nov 19, 2012 2:54 pm
- Forum: Discussion
- Topic: MonoDevelop addin: Plumbing and autocompletion
- Replies: 13
- Views: 75057
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...
- Sun Nov 18, 2012 12:34 pm
- Forum: Discussion
- Topic: some more mixin fun
- Replies: 1
- Views: 8806
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) ...
- Sun Nov 18, 2012 11:55 am
- Forum: Discussion
- Topic: some more mixin fun
- Replies: 1
- Views: 8806
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
- Sun Nov 11, 2012 1:28 pm
- Forum: Discussion
- Topic: properties in mixins
- Replies: 4
- Views: 11808
Re: RFC for suggestion: setting access rights to added mixin
cool thanks!
I'll open another thread if I find more.
I'll open another thread if I find more.
- Sun Nov 11, 2012 4:21 am
- Forum: Discussion
- Topic: RFC for suggestion: setting access rights to added mixins
- Replies: 3
- Views: 13427
- Search found 35 matches • Page 1 of 4 • 1, 2, 3, 4