From 74387bab7d25ef3927a1c377ded44972c5ad4b36 Mon Sep 17 00:00:00 2001 From: Michael Rashkovsky Date: Fri, 15 Nov 2019 22:53:36 -0500 Subject: fix typo the type of secondTrip should be Trips.trainJourney, not Trips.firstTrip. trainJourney is a proper type, whereas firstTrip is a variable --- reason.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reason.html.markdown') diff --git a/reason.html.markdown b/reason.html.markdown index 62d809cf..b8a2215d 100644 --- a/reason.html.markdown +++ b/reason.html.markdown @@ -162,7 +162,7 @@ let maxPassengers = firstTrip.capacity; /* If you define the record type in a different file, you have to reference the filename, if trainJourney was in a file called Trips.re */ -let secondTrip: Trips.firstTrip = { +let secondTrip: Trips.trainJourney = { destination: "Paris", capacity: 50, averageSpeed: 150.0, -- cgit v1.2.3