-
-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Describe the bug
I have defined a Trait and I am trying to use the with keyword of an Entity definition to implement the Trait.
I get the following error mismatched input 'ith' expecting RULE_CLOSE(org.eclipse.xtext.diagnostics.Diagnostic.Syntax)
To Reproduce
Steps to reproduce the behavior:
- Define a Trait
Trait newTrait {} - Define a Entity
Entity newEntity with newTrait {}
Expected behavior
An Entity can implement a Trait with the with keyword
Looking at the DSL java docs I can see a getTraits() function of the DomainObject type https://www.javadoc.io/doc/org.contextmapper/context-mapper-dsl/latest/org/contextmapper/tactic/dsl/tacticdsl/DomainObject.html
IDE and Plugin (please complete the following information):
I am using the ContextMapper plugin for VSCode @ v6.12.0
CesarD
Metadata
Metadata
Assignees
Labels
No labels