I'm currently using a DSL like below and IDEA perf...
# eap
d
I'm currently using a DSL like below and IDEA performs weird and slow when I edit part of it. And I suspect it's somewhat related to the type inference.
Copy code
find(_FareManagement.t) {
            tripType has TripType.ROUND_TRIP
            salesState has SalesStatus.ON_SALE
            any {
                viewDateEnd has None
                viewDateEnd { to(today) }
            }
            viaChk has anyOf(ViaCheck.Y, ViaCheck.U, ViaCheck.X)
            rtnInd has false

            arrivalCity has anyOf(arrival)
            departureCity has anyOf(departure)

            departureCity has ssCity

            airline has anyOf(airlines)

            any {
                viewDate has None
                viewDate { to(today) }
            }

            any {
                viewDateEnd has None
                viewDateEnd { from(today) }
            }

            any {
                tourLastDate has None
                tourLastDate { from(eDate) }
            }