[haxe/en] Fix grammatical errors, closes #3513 (#3530)

[haxe/en] Fix grammatical errors, closes #3513
This commit is contained in:
Divay Prakash 2019-05-11 02:03:54 +05:30 committed by GitHub
commit 30bc3f244b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -334,7 +334,7 @@ class LearnHaxe3 {
Switch statements in Haxe are very powerful. In addition to working
on basic values like strings and ints, they can also work on the
generalized algebraic data types in enums (more on enums later).
Here's some basic value examples for now:
Here are some basic value examples for now:
*/
var my_dog_name = "fido";
var favorite_thing = "";
@ -594,7 +594,7 @@ class ComplexEnumTest {
public static function example() {
var e1:ComplexEnum = IntEnum(4); // specifying the enum parameter
// Now we can switch on the enum, as well as extract any parameters
// it might of had.
// it might have had.
switch(e1) {
case IntEnum(x) : trace('$x was the parameter passed to e1');
default: trace("Shouldn't be printed");