Skip to content

HoconValue.Undefined is inconsistent #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

Arkatufus
Copy link
Contributor

Removed HoconValue.Undefined, will be replaced with nullable reference when we move to C# 8.0

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -80,17 +80,14 @@ public HoconValue Value
}

var value = new HoconValue(this);
switch (objects.Count)
if (objects.Count == 1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Aaronontheweb Aaronontheweb merged commit b45cb0a into akkadotnet:dev Jul 29, 2019
Aaronontheweb pushed a commit that referenced this pull request Jul 29, 2019
* Simplify HoconField constructor

* Strict node parenting for cleaner object reconstruction

* Reverse all object value upkeep responsibility to the parser to support proper self-referencing substitution backtracking.

* Remove HoconValue.Undefined

* Merge clean-up, remove HoconValue.Undefined references.

* Merge cleanup
This was referenced Jul 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants