BFergerson / JetBrains-Graql-Plugin

8 stars 0 forks source link

Illegal identifier declaration type inspection #19

Closed BFergerson closed 6 years ago

BFergerson commented 6 years ago

This should be marked invalid:

define

ref sub relationship
    relates has_ref, relates is_ref;
has_ref sub entity; #should be role
is_ref sub entity; #should be role
BFergerson commented 6 years ago

entity can't relates entity can't plays role can't has attribute can't plays relationship can't plays or has