private INotificationManager Conditional_Expression_Is_BoolType(Conditional conditional) { INotificationManager notificationManager = new NotificationManager(); Types.Type type = conditional.Condition.Accept(new ExpressionTypeCollector(identifierToType)); if (!type.IsEqual(new Types.BoolType())) { notificationManager.AddNotification(new NonBooleanCondition(conditional.GetPosition())); } return(notificationManager); }