Forum Replies Created
-
AuthorPosts
-
Cool stuff, Adam!
Where is a keyword of monkey2 and it has highlighting in Ted2.
Used like this:
Monkey1Interface IGenericInterface Where T Implements INumericIn your example code you don’t use T inside of Container, so why to use it at all?
What do you mean by refine T?
something like this:
Monkey1Class Container<I> Where I Implements IWidgetif you use where you prevent incorrect type of elements that can be added to container – now only elements with interface IWidget would work, for other you get compiler error. Profit!
I think if you go through a list via iterator (not via Eachin) you can use Add/Push as usual.
I dont know is it bug or not, but I am interested in example of such using.
Can you post code from monkey1?
For me it looks like incorrect – you cant overload methods and using other members of template T.
Maybe you forget to add ‘Where T…’ keyword to refine T?
Maybe you use import with @ symbol in one plece (and got subfolder in assets) and without in other place (and got resources in root assets).
It seems that I incorrect understood topic starter giving a first answer…
Some new stuff:
- Fixed (!) – parser don’t update entities info inside of classes after they modified.
- Fixed – not shown some types (generic) of properties.
- Autocompletion (!) – improved arrow left / right behaviour when list is opened.
- Autocompletion – fixed addition of extra spaces for keywords.
- Added app icon for windows version (blue monkey2 logo). So associated files now have properly icon.
- Updated ‘About ted2go’ section – added shurtcuts info and special thanks sections.
Attachments:
Wow!!
Very cool news.
November 25, 2016 at 11:57 am in reply to: class with Interface and super class cant have shared method name #5434We need to know how it works in other langs. I don’t know.
Ok, added “Find in files” into “Do it first” list.
But my dev speed is slow (have no time).
Try to add codemap’s codetextview into scrollableview and set size proportional to font size. So wrapping will be the same as ‘main’ codetextview. And disable horiz scroll if needed.
November 25, 2016 at 2:32 am in reply to: class with Interface and super class cant have shared method name #5423I think you should implement interface for Base. Then your methods in Base will be default realization of interface ones.
Welcome!
More docs are needed here.
What do you want to get from that at the end?
-
AuthorPosts