Comments (2)
I receive a "Sequence contains no elements" , not "Null-reference"
(in process of fixing)
from roslyndom.
This was the tip of a small iceberg.
The underlying problem is how regions are matched up. Previously, this was done on load and therefore something between the open/close needed to push the start into the DOM before the end could find it.
This was an overall bad design, and after spending a bit of time this morning, I decided the cleanest of all imperfect approaches is to have a fixup process run after the DOM is loaded. This secondary process matches on the contained trivia's GetRelated... method and syncs up the Guids.
This is currently in the Root factory, which I think is a valid location
As a deliberate side effect of this fix, randomly placed regions are now supported along with a flag to indicate whether nesting is semantically correct (issue #99)
from roslyndom.
Related Issues (20)
- Assemblies shouldn't be loaded from app domain's base path HOT 2
- Invalid code isn't handled correctly HOT 2
- InvalidCastException when using RDom.CSharp.LoadGroup HOT 1
- Status of project? Still alpha? HOT 1
- Need to update to the beta of The .NET Compiler Platform to the Halloween build
- Should BuildSyntax() be changed to GetSyntax()
- Redesign Factory Lookup
- Support for lambda expressions HOT 1
- Try to retrieve anonymous method parameter types from Roslyn
- RequestedValue could have parameter that searched up tree
- Generated class results in uncompilable code HOT 8
- Expression construction (not parsed) messed up
- Crash if Region at end of file
- Region fails if multiple in same parent
- Multipart namespaces break regions
- Crashes when encountering interpolated strings HOT 2
- Probable typo in RDomParameter HOT 1
- Validate input to symbol names are valid symbols
- Support non-semantically (randomly placed) regions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roslyndom.