-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: Check if any classes are duplicated (#712)
- Loading branch information
1 parent
63504c3
commit 659a53b
Showing
11 changed files
with
42 additions
and
32 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
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
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
8 changes: 0 additions & 8 deletions
8
libs/config/tests/errors/ce3_duplicate_property_separate/source.hpp
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
libs/config/tests/errors/ce3_duplicate_property_separate/stdout.ansi
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class CfgAmmo { | ||
class BulletBase; | ||
class MissileBase; | ||
class MissileBase: BulletBase {}; | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[0m[1m[38;5;9merror[CE9][0m[1m: class defined multiple times[0m | ||
[0m[36m┌─[0m source.hpp:3:11 | ||
[0m[36m│[0m | ||
[0m[36m3[0m [0m[36m│[0m class [0m[31mMissileBase[0m; | ||
[0m[36m│[0m [0m[31m^^^^^^^^^^^[0m [0m[31mdefined multiple times[0m | ||
[0m[36m4[0m [0m[36m│[0m class MissileBase: BulletBase {}; | ||
[0m[36m│[0m [0m[36m-----------[0m [0m[36malso defined here[0m | ||
[0m[36m│[0m | ||
[0m[36m=[0m [33mhelp[0m: remove all but the first definition of `class MissileBase;` | ||
|
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...errors/ce8_duplicate_external/stdout.ansi → ...errors/ce9_duplicate_external/stdout.ansi
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