Make inter-file cycles compile (#4364)

This commit is contained in:
Robbie McElrath
2017-06-26 09:07:02 -07:00
committed by Wouter van Oortmerssen
parent b0fa5e0f42
commit 0e85eeef2c
4 changed files with 52 additions and 32 deletions

View File

@@ -2,4 +2,6 @@ include "sub/include_test2.fbs";
include "sub/include_test2.fbs"; // should be skipped
include "include_test1.fbs"; // should be skipped
table TableA {
b:MyGame.OtherNameSpace.TableB;
}

View File

@@ -1,3 +1,4 @@
include "include_test1.fbs";
include "sub/include_test2.fbs"; // should be skipped
namespace MyGame.OtherNameSpace;
@@ -6,4 +7,6 @@ enum FromInclude:long { IncludeVal }
struct Unused {}
table TableB {
a:TableA;
}