You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an entry file A, which requires B, C, and D. B and C use types from D, but they're always available since A requires them first. This all compiles fine, but crystallline is complaining about undefined constants referenced in B or C from D. What's weird is that it only starts complaining about that when I save B or C, if I save A (even without changes), its fine again. My shard.yml contains:
targets:
shapes:
main: src/A
where A is the appropriate filename.
Is this a bug, if not, is there something I can do to force crystalline to do whatever it does when I save A?
The text was updated successfully, but these errors were encountered:
In the original example, I think the issue is that the target name shapes does not match the project folder name. Crystalline is unable to infer that this particular target is the actual entry point to use.
I have an entry file A, which requires B, C, and D. B and C use types from D, but they're always available since A requires them first. This all compiles fine, but crystallline is complaining about undefined constants referenced in B or C from D. What's weird is that it only starts complaining about that when I save B or C, if I save A (even without changes), its fine again. My shard.yml contains:
where A is the appropriate filename.
Is this a bug, if not, is there something I can do to force crystalline to do whatever it does when I save A?
The text was updated successfully, but these errors were encountered: