Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename Error to BuilderError to avoid clash with java.lang.Error
- Loading branch information
Thomas Degueule
committed
Sep 7, 2015
1 parent
750933f
commit aff0592
Showing
5 changed files
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 3 additions & 6 deletions
9
...inria/diverse/melange/builder/Error.xtend → ...iverse/melange/builder/BuilderError.xtend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
package fr.inria.diverse.melange.builder | ||
|
||
import org.eclipse.emf.ecore.EObject | ||
import org.eclipse.xtend.lib.annotations.Data | ||
|
||
class Error { | ||
@Data | ||
class BuilderError { | ||
String message | ||
EObject location | ||
|
||
new(String m, EObject o) { | ||
this.message = m | ||
this.location = o | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters